users@jersey.java.net

[Jersey] Re: Set specific encoding in Jersey server

From: Tatu Saloranta <tsaloranta_at_gmail.com>
Date: Thu, 9 Jun 2011 13:42:45 -0700

On Thu, Jun 9, 2011 at 11:55 AM, Maxrunner <joao.rossa_at_gmail.com> wrote:
> IS there any other way around for using Portuguese type characters like ã,â,
> é ,à,ç, etc...?

Unicode encodings like UTF-8 work just fine with these. They result in
2-byte sequences (compared to 1 byte for ISO-8859-x encodings), which
is why trying to display UTF-8 as if it was ISO-8859-1 gives garbage;
but as long as display encoding is correct these just work.

-+ Tatu +-