On Tue, Sep 22, 2009 at 06:46:22AM -0700, Ken Krugler wrote:
> OK, either Oleg gets up even earlier than me, or he's not on west coast
> time :)
>
No, I am not :) I guess henceforth I will be answering HttpClient related
questions only if they have been unanswered for a couple of days to encourage
more participation from the community.
Oleg
> -- Ken
>
> On Sep 22, 2009, at 5:50am, Oleg Kalnichevski wrote:
>
>>> What's happen is that the "Mes r?f" thing becomes Mes r[0xc3][0xa9]f
>>> and
>>> unfortunatly doesn't work with the server side.
>>>
>>
>> This is a perfectly valid UTF-8 representation of this character.
>>
>> ---
>> String s = "?";
>> byte[] raw = s.getBytes(Charset.forName("UTF-8"));
>> for (int i = 0; i < raw.length; i++) {
>> System.out.print("0x" + Integer.toHexString((raw[i] & 0xFF)) + "
>> ");
>> }
>> ---
>>> 0xc3 0xa9
>> ---
>>
>> Oleg
>
>
> --------------------------
> Ken Krugler
> TransPac Software, Inc.
> <http://www.transpac.com>
> +1 530-210-6378
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]