[ mx4j-Bugs-973867 ] MLet files should be read with UTF-8 encoding

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Bugs item #973867, was opened at 2004-06-16 14:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=973867&group_id=47745

Category: JMX implementation
Group: Release 2.0.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Simone Bordet (biorn_steedom)
Assigned to: Simone Bordet (biorn_steedom)
Summary: MLet files should be read with UTF-8 encoding

Initial Comment:
The latest erratum on the issue says MLet files should
be UTF-8 encoded.
Currently MX4J uses the default encoding.
The change is very simple: replace MLet.java:316 from

String mletFileContent = baos.toString();

to 

String mletFileContent = new String(baos.toByteArray(),
"UTF-8");


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=450647&aid=973867&group_id=47745


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.