[jboss-jira] [JBoss JIRA] Created: (GPD-384) Broken NON-LATIN characters in project/node names/values after saving process JPDL XML file
Konstantin Kasatkin (JIRA)
jira-events at lists.jboss.org
Wed Dec 30 09:30:30 EST 2009
Broken NON-LATIN characters in project/node names/values after saving process JPDL XML file
-------------------------------------------------------------------------------------------
Key: GPD-384
URL: https://jira.jboss.org/jira/browse/GPD-384
Project: jBPM GPD
Issue Type: Patch
Components: jpdl
Affects Versions: jBPM jPDL Designer 4.2
Environment: Windows XP x32
Reporter: Konstantin Kasatkin
Assignee: Koen Aers
Priority: Critical
Fix For: jBPM jPDL Designer 4.x, jBPM jPDL Designer 4.2
When we populate any attribute in JPDL XML with NON-LATIN characters Editor reads it correctly displays all atributes in proper characterset.
When we change any attribute in GUI mode and save changes all characters became unreadable (sometimes just "???").
It happens due to missing implicit pointing characterset in the method that constructs OutputStreamWriter.
As the XML has hardcoded UTF-8 encoding at saving time it reasonable to change a peace of code like:
new OutputStreamWriter(os)
to
new OutputStreamWriter(os, "UTF-8");
--
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 jboss-jira
mailing list