Hi Hannes, It looks like a bug but after looking at the code I don't see what we are doing wrong as we have no control on encoding for Object serialization.
Anyway, I've entered a bug report: "Encoding issue with ObjectRepresentation" http://restlet.tigris.org/issues/show_bug.cgi?id=525 If you could attach a reproducible test case (client+server code), that would help us fix it more quickly. Also, could you add a comment to the report indicating which client and server connectors you are using? Best regards, Jerome -----Message d'origine----- De : Hannes Ebner [mailto:[EMAIL PROTECTED] Envoyé : lundi 30 juin 2008 12:37 À : [email protected] Objet : Re: ObjectRepresentation and String encoding Hi Stephan, Stephan Koops wrote: > you could explicit set the character encoding of a representation. > Perhaps you have to set ISO-8859-1 into the representation? Use > Representation.setCharacterSet(...) I don't think that this works with serialized objects. I tried to set the character set, but it didn't show up in the HTTP header on the other side. I tried to serialize the very same object myself (without Restlets involved), and sent it directly via a TCP Socket, and it worked. Could this be a bug somewhere in Restlet's ObjectRepresentation? Best regards, Hannes

