I don't think it can.

Perhaps the best way would be to write the DRL so that its character
set is not subject to misinterpretation by an encoding selected due to
some locale setting. Which characters cause the problems?

-W


On 19/09/2012, Joachim Van der Auwera <joac...@progs.be> wrote:
> 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 <joac...@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@lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/rules-users
>>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to