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

Hitoshi Ozawa (JIRA) jira-events at lists.jboss.org
Thu Feb 4 21:51:19 EST 2010


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

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

Kris, I'm also able to open when the Shift-JIS xml file from the Eclipse plugin. However, I can't open the correctly encoded UTF-8 xml file.
Simply removing the line would not work because the default XML encoding is UTF-8 and the file is actually in Shift-JIS.
There isn't any problem when I'm accessing the xml file only from the Eclipse plugin, however, if I want to use an XML editor to edit the file, my Japanese characters do not come out correctly (similar to when I view the file in Firefox).
FYI, I want to edit xml files using the XML editor to insert toType="DROOLS_DEFAULT" attributes in my rf files. :-) My CR1 release still deletes this attribute when I save the file.

> 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-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