users@jersey.java.net

[Jersey] Re: how to preserve HTML formatting for a byte[] by Jersey client

From: Jitesh Sinha -X (jisinha - Siliconweb Inc. at Cisco) <"Jitesh>
Date: Tue, 19 Jul 2011 15:02:39 -0700

You may be correct - I was also confused whether it is HTMl or encoding
issue.
How do I get rid of this issue? Before uploading content is different
and after uploading it is something else.

-----Original Message-----
From: Tatu Saloranta [mailto:tsaloranta_at_gmail.com]
Sent: Tuesday, July 19, 2011 1:39 PM
To: users_at_jersey.java.net
Subject: [Jersey] Re: how to preserve HTML formatting for a byte[] by
Jersey client

On Tue, Jul 19, 2011 at 1:17 PM, Pavel Bucek <pavel.bucek_at_oracle.com>
wrote:
> this is not related to formatting, my bet is on encoding issues. Are
you

Agreed. One newbie mistake is also to assume that shell/console
displays things correctly -- more often than not it won't, as it
assumes encoding different from what code is trying to dump. Same goes
for log files, which may well default to ISO-8859-x encodings (instead
of UTF-8).

-+ Tatu +-