[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-2601) Danish characters in UTF-8 encoded properties files get messed up in JBDS 1.1.0.GA using JBoss Tools Properties File Editor

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Wed Nov 5 10:10:47 EST 2008


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

Max Rydahl Andersen updated JBIDE-2601:
---------------------------------------

    Component/s: core
       Priority: Critical  (was: Minor)


since property files are often used for translations this issue needs to get fixed.

> Danish characters in UTF-8 encoded properties files get messed up in JBDS 1.1.0.GA using JBoss Tools Properties File Editor
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-2601
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-2601
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.1.2
>         Environment: Windows XP SP3, Java 1.5.0_14, JBoss Developer Studio 1.1.0.GA (JBoss Tools 2.1.2.GA). NOTE: project and Eclipse is set up to handle text files as UTF-8. All properties files are UTF-8 encoded.
>            Reporter: Henrik Rathje
>            Assignee: Viacheslav Kabanovich
>            Priority: Critical
>             Fix For: 3.0.0.cr1
>
>         Attachments: JBDS-394-screenshots.zip, mess.properties, mess.properties, nomess.properties
>
>
> I have a properties file encoded in UTF-8 containing some properties with danish characters in the value part.
> If I open it with my "old" Eclipse 3.3.1 it's ok, even when using JBoss Tools 2.1.2.GA (JBoss Tools Properties File Editor).
> If I use JBDS 1.1.0.GA and open it with the eclipse build-in properties file editor it's also fine!
> BUT if I use JBDS 1.1.0.GA and open it with the JBoss Tools 2.1.2.GA (JBoss Tools Properties File Editor), it messes up the file!
> Test scenario:
> ***************
> 1. Create a UTF-8 encoded file containing the danish letter http://www.fileformat.info/info/unicode/char/00e6/index.htm.
> 2. Open it in JBDS 1.1.0.GA with the eclipse build-in properties file editor. keep it open.. see that the danish character is displayed ok.. it should be..
> 3. Keep the previous editor open, and open the same file with the JBoss Tools 2.1.2.GA (JBoss Tools Properties File Editor)
> 4. Note how the previous build-in properties file editors version of the file gets marked as changed (the good old little *), but not in the version opend by the JBoss Tools 2.1.2.GA (JBoss Tools Properties File Editor). Also the danish letter is messed up in the JBoss Tools 2.1.2.GA (JBoss Tools Properties File Editor) editor.
> 5. So just opening the file with the JBoss Tools 2.1.2.GA (JBoss Tools Properties File Editor) changes the file.
> I will try to attach the "before and after" files as soon as possible.
> - Henrik

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