[rules-users] rules file character encoding and spring

Joachim Van der Auwera joachim at progs.be
Wed Sep 19 07:05:39 EDT 2012


Maybe I was not clear. The XML is parsing just fine. The problem is with 
the parsing of the drl file.

I think it would be useful to be able to indicate the character encoding 
which is used for the drl file.
Is there a way to specify this using the spring configuration?

Kind regards,
Joachim

On 19-09-12 12:26, Wolfgang Laun wrote:
> Something like
>     <?xml version="1.0" encoding="utf-8"?>
>
> which should be present on any XML file...
>
>
> On 19/09/2012, Joachim Van der Auwera <joachim at progs.be> wrote:
>> I have a rules description like this:
>>
>> <drools:kbase id="bodKBase">
>>       <drools:resources>
>>           <drools:resource type="DRL"
>> source="classpath:be/vlaanderen/awv/dc/bod/rule/Dienstbevel.drl"/>
>>           <drools:resource type="DRL"
>> source="classpath:be/vlaanderen/awv/dc/bod/rule/Kostenberekening.drl"/>
>>       </drools:resources>
>> </drools:kbase>
>>
>> How can I specify the character encoding for this?
>>
>> It is working fine on linux (everything is UTF-8), but gives a problem on
>> Windows machine where it complains about the character set.
>>
>> Thanks for the help.
>>
>> Kind regards,
>> Joachim
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users



More information about the rules-users mailing list