Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. 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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.0.0.cr1
    • 2.1.2
    • common
    • None

      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

        1. JBDS-394-screenshots.zip
          388 kB
        2. mess.properties
          1 kB
        3. mess.properties
          1 kB
        4. nomess.properties
          1 kB

            scabanovich Viacheslav Kabanovich (Inactive)
            henrikrathje_jira Henrik Rathje (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: