[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5793) XML encoding is incorrect

Hitoshi Ozawa (JIRA) jira-events at lists.jboss.org
Mon Feb 8 19:11:26 EST 2010


    [ https://jira.jboss.org/jira/browse/JBIDE-5793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12511142#action_12511142 ] 

Hitoshi Ozawa commented on JBIDE-5793:
--------------------------------------

I haven't looked in the code yet, but it seems you have org.drools.io for input and output and you're using Xerces SAXParser. Are you specifying setProperty("encoding","utf-8") in the input/output methods?

> XML encoding is incorrect
> -------------------------
>
>                 Key: JBIDE-5793
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5793
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: drools
>    Affects Versions: 3.1.0.CR1
>         Environment: Eclipse in Japanese OS - Windows, Fedora
>            Reporter: Hitoshi Ozawa
>            Assignee: Kris Verlaenen
>            Priority: Minor
>             Fix For: LATER
>
>         Attachments: NumberGuess-UTF8.rf, NumberGuess.rf
>
>
> Eclipse plugin to draw Drools Flow writes out xml files with wrong encoding.
> *.rf file created by Drools Flow creates xml files with encoding="UTF-8" but the actual encoding of the file is local encoding (Shift-JIS in Japanese OS).
> If the encoding of the xml file is converted to UTF-8, the file can not be opened by Drools Flow.

-- 
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 jbosstools-issues mailing list