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

Hitoshi Ozawa (JIRA) jira-events at lists.jboss.org
Thu Feb 4 16:15:20 EST 2010


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

Hitoshi Ozawa updated JBIDE-5793:
---------------------------------

    Attachment: NumberGuess.rf


Attached is a Drools' number guessing game rf file which I added some Japanese characters. The xml prefix states it's UTF-8 but in actuality, the file is coded in Shift-JIS. ASCII single byte characters = UTF-8 so this would not be a problem, but in encoding such as Shift-JIS, there would be a mismatch.

> 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: 3.1.0.CR2
>
>         Attachments: 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