UTF8 problem?

2008-10-23 Thread Mike Kyle
I set an EntityEnclosingMethod request entity to be a ByteArrayRequestEntity. This entity has the Java characters "\u4E2D\u6587" as the corresponding UTF8 bytes (UTF8 = 0xE4,0xB8,0xAD,0xE6,0x96,0x87). This is confirmed by logging httpclient.wire.content. There I see the UTF8 values. However wha

Re: UTF8 problem?

2008-10-23 Thread Mike Kyle
ncoding via: -Dfile.encoding=UTF-8 to see if that works ? Cheers, Hanson On Thu, Oct 23, 2008 at 2:36 AM, Mike Kyle <[EMAIL PROTECTED]> wrote: > I set an EntityEnclosingMethod request entity to be a ByteArrayRequestEntity. > This entity has the Java characters "\u4E2D\u658

Re: UTF8 problem?

2008-10-28 Thread Mike Kyle
-10-23 at 09:36 +, Mike Kyle wrote: > I set an EntityEnclosingMethod request entity to be a ByteArrayRequestEntity. > This entity has the Java characters "\u4E2D\u6587" as the corresponding UTF8 > bytes (UTF8 = 0xE4,0xB8,0xAD,0xE6,0x96,0x87). This is confirmed by logging