users@jersey.java.net

[Jersey] Re: how to rename XmlRootElement in JSON

From: Maxrunner <joao.rossa_at_gmail.com>
Date: Mon, 13 Jun 2011 06:15:14 -0700 (PDT)

That's what im doing but i get those wacky chars when i use ç or ã for
example....


On Mon, Jun 13, 2011 at 6:29 AM, Cowtowncoder [via Jersey] <
ml-node+6469071-503803287-73314_at_n2.nabble.com> wrote:

> On Sun, Jun 12, 2011 at 7:47 AM, Maxrunner <[hidden email]<http://user/SendEmail.jtp?type=node&node=6469071&i=0>>
> wrote:
> > So if i send the data in UTF-8 in this case im using android as the
> client
> > side, how do i convert back to iso-8859-1?
>
> Usually you do not need to convert anything to ISO-8859-1.
> Java Strings and characters do not use any encoding within JVM (or,
> technically it might be considered UCS-2, but really it is mostly
> opaque to Java code), so all you usually need is to ensure external
> encodings are properly converted to String or char[].
>
> -+ Tatu +-
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://jersey.576304.n2.nabble.com/how-to-rename-XmlRootElement-in-JSON-tp6173292p6469071.html
> To unsubscribe from how to rename XmlRootElement in JSON, click here<http://jersey.576304.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=6173292&code=am9hby5yb3NzYUBnbWFpbC5jb218NjE3MzI5MnwyMDYzODA1MDkw>.
>
>


--
View this message in context: http://jersey.576304.n2.nabble.com/how-to-rename-XmlRootElement-in-JSON-tp6173292p6470096.html
Sent from the Jersey mailing list archive at Nabble.com.