Hi,
given that Castor a few months ago has moved beyond a very stable 1.1
release, personally I am not willing to investigate issues that are
related to pre-1.1 releases.
As such, feel free to show us that the issue still persists with a more
recent release, and we'll be working with you to resolve it in due time.
Regards
Werner
PS As always, I'd be eager to learn why you are still sticking with such
an old release of Castor.
Herbert Wu wrote:
Hi,
This is my marshal code:
String encoding = "UTF-8";
Marshaller m = new Marshaller(new OutputStreamWriter(out,encoding));
m.setEncoding(encoding);
m.setMapping(mapping);
m.marshal(obj);
However string "Café" in obj would become "Caf?" in the final XMl file
on some linux OS(works fine in some other linux OS).
Note: The "out" here is actually "ByteArrayOutputStream" and the
debugger shows the char is broken here before actaully written to a disk
file.
I am not sure if this is Castor or JVM or OS issue?
Your help is greatly appreciated!
Platform where the problem persists:
Castor: 0.9.6
JDK: 1.5.0_08-b03
OS: 2.6.9-34.0.1.ELsmp #1 SMP Wed May 17 17:05:24 EDT 2006 i686 athlon
i386 GNU/Linux
-Herbert
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email