Sorry a bit later on the follow-up. 0.9.6 is in production for a while and I
will upgrade it to 1.1.2.1.
However I deployed a patch build with 1.1.2,1 and the problem is the same as
0.9.6's in which works on machine 1, but not machine2.
But I am using these two jars:
-rw-r--r--  1 hwu 10734 1212815 Jan 17 13:48 xercesImpl-2.8.1.jar
-rw-r--r--  1 hwu 10734  195119 Jan 17 13:48 xml-apis-2.8.1.jar

is it possible some issues here with these two jars when processing some
string like Café ?

Thanks!
-Herbert

On Jan 15, 2008 4:45 PM, Werner Guttmann <[EMAIL PROTECTED]> wrote:

> 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
>
>

Reply via email to