]
Max Rydahl Andersen updated JBIDE-2601:
---------------------------------------
Fix Version/s: 3.0.0.beta1
Assignee: Ziya Suzen (was: Viacheslav Kabanovich)
Priority: Minor (was: Major)
Minor, but annoying and hopefully simple to fix.
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
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: Ziya Suzen
Priority: Minor
Fix For: 3.0.0.beta1
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: