[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1917) JBRMS does not support business rules with non ascii characters

Gregory Chazalon (JIRA) jira-events at lists.jboss.org
Wed Jan 14 10:39:04 EST 2009


     [ https://jira.jboss.org/jira/browse/JBRULES-1917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Chazalon updated JBRULES-1917:
--------------------------------------

    Description: 
A very simple rule containing some Latin1 characters (e.g. 'é', 'à'..), is not compiled correctly when using the JBRMS web app.
The exact same rule defined in a DRL file, and compiled with the drools compiler API is well handled (no characters mismatch).
Actually, the rule defined both ways is :

rule "latin_message"
  when 
        Let information message
  then 
        information message containing latin characters léger problème à résoudre hôpital
end


I strongly suspect a poor character encoding  scheme inside the JBRMS code, but I haven't been able to identify it.
The problem is illustrated by the LatinMessageTest test case, bundled inside the small eclipse project provided.
It has two test methods, one building the rule using the drools compiler API, and the other using a binary package built with JBRMS.
The second one fails as of the poor character encoding suspected inside JBRMS web app.

Any help is appreciated.


  was:
A very simple rule containing some Latin1 characters (e.g. 'é', 'à'..), is not compiled correctly when using the JBRMS web app.
The exact same rule defined in a DRL file, and compiled with the drools compiler API is well handled (no characters mismatch).
Actually, the rule defined both ways is :
{code}
rule "latin_message"
    when 
        Let information message
	then 
		information message containing latin characters léger problème à résoudre hôpital
end
{/code}


I strongly suspect a poor character encoding  scheme inside the JBRMS code, but I haven't been able to identify it.
The problem is illustrated by the LatinMessageTest test case, bundled inside the small eclipse project provided.
It has two test methods, one building the rule using the drools compiler API, and the other using a binary package built with JBRMS.
The second one fails as of the poor character encoding suspected inside JBRMS web app.

Any help is appreciated.




> JBRMS does not support business rules with non ascii characters
> ---------------------------------------------------------------
>
>                 Key: JBRULES-1917
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-1917
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.0.7
>            Reporter: Gregory Chazalon
>            Assignee: Mark Proctor
>
> A very simple rule containing some Latin1 characters (e.g. 'é', 'à'..), is not compiled correctly when using the JBRMS web app.
> The exact same rule defined in a DRL file, and compiled with the drools compiler API is well handled (no characters mismatch).
> Actually, the rule defined both ways is :
> rule "latin_message"
>   when 
>         Let information message
>   then 
>         information message containing latin characters léger problème à résoudre hôpital
> end
> I strongly suspect a poor character encoding  scheme inside the JBRMS code, but I haven't been able to identify it.
> The problem is illustrated by the LatinMessageTest test case, bundled inside the small eclipse project provided.
> It has two test methods, one building the rule using the drools compiler API, and the other using a binary package built with JBRMS.
> The second one fails as of the poor character encoding suspected inside JBRMS web app.
> Any help is appreciated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the jboss-jira mailing list