Re: serializing XML to a ServletOutputStream fails

2001-02-05 Thread Tim Tye
gt;; <[EMAIL PROTECTED]> Sent: Monday, February 05, 2001 4:24 AM Subject: RE: serializing XML to a ServletOutputStream fails > Hi, > > Maybe you should not use character set "UTF-8". I remember > that it's 8-bit Unicode. As I know, Chinese and Korean has > 16-bit

Re: serializing XML to a ServletOutputStream fails

2001-02-05 Thread Craig R. McClanahan
Michael Mealling wrote: > On Mon, Feb 05, 2001 at 08:17:57PM +0900, Takashi Okamoto wrote: > > From: "Michael Mealling" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]> > > Sent: Monday, February

RE: serializing XML to a ServletOutputStream fails

2001-02-05 Thread cmanolache
> > Maybe you should not use character set "UTF-8". I remember > that it's 8-bit Unicode. As I know, Chinese and Korean has > 16-bit code. So at least, you should try 16-bit Unicode. > I forgot the name, maybe it's "UTF-16". But I'm not sure if > JDK have fully support to "UTF-16". UTF8 is ok -

Re: serializing XML to a ServletOutputStream fails

2001-02-05 Thread cmanolache
Hi Michael, I'll be working on a number of "encoding"-related problems, and support for different charsets is one of them. The problem is not easy, and it'll take few weeks - but you should have most of the issues resolved before tc3.3 beta. You can help in few ways: 1. Open a bug, with Encodin

Re: serializing XML to a ServletOutputStream fails

2001-02-05 Thread Dimitris Dinodimos
Use the PrintWriter object returned by response.getWriter(). You will find more info at http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/ServletResponse.html --- Michael Mealling <[EMAIL PROTECTED]> wrote: > (This might be a bug so I'm cc-ing to tomcat-dev) > Hi, > I'm trying to

RE: serializing XML to a ServletOutputStream fails

2001-02-05 Thread Zhu Ming
ilto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 11:55 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: serializing XML to a ServletOutputStream fails On Mon, Feb 05, 2001 at 11:24:55AM +0100, Zhu Ming wrote: > Maybe you should not use character set "UTF-8". I remember

Re: serializing XML to a ServletOutputStream fails

2001-02-05 Thread Michael Mealling
On Mon, Feb 05, 2001 at 08:17:57PM +0900, Takashi Okamoto wrote: > From: "Michael Mealling" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Monday, February 05, 2001 7:54 PM > Subject: Re: serializing XML to a ServletOutp

Re: serializing XML to a ServletOutputStream fails

2001-02-05 Thread Takashi Okamoto
From: "Michael Mealling" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, February 05, 2001 7:54 PM Subject: Re: serializing XML to a ServletOutputStream fails > P.S. I've also posted this problem to HotDispatch so if you >

Re: serializing XML to a ServletOutputStream fails

2001-02-05 Thread Michael Mealling
On Mon, Feb 05, 2001 at 11:24:55AM +0100, Zhu Ming wrote: > Maybe you should not use character set "UTF-8". I remember > that it's 8-bit Unicode. As I know, Chinese and Korean has > 16-bit code. So at least, you should try 16-bit Unicode. > I forgot the name, maybe it's "UTF-16". But I'm not sure

RE: serializing XML to a ServletOutputStream fails

2001-02-05 Thread Zhu Ming
rt to "UTF-16". I'm not an Unicode expert. I'll be happy if what I say can be a hint to solve this problem. Ming -Original Message- From: Michael Mealling [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 03:04 To: [EMAIL PROTECTED] Subject: serializing XML t

serializing XML to a ServletOutputStream fails

2001-02-04 Thread Michael Mealling
(This might be a bug so I'm cc-ing to tomcat-dev) Hi, I'm trying to serialize some XML out to a ServletOutputStream but the resulting XML on the client side contains corrupted Unicode characters (the DOM I'm serializing out contains Chinese, Korean, English, etc). Here's the code in question: