In Windows the Writer and Reader using CPXXXX as default 
encoding/decoding style. Seams like the JSONObject uses such
Writer/reader without setting the format explicitly.

Got the same Issue with JDOM once.

Check your JSONObject.write(...) methods. Where does your 
Writer comes from and what is its character enconding.

Cheers,

Martin (Kersten)

-----Ursprüngliche Nachricht-----
Von: jgn [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 30. April 2008 16:59
An: users@tapestry.apache.org
Betreff: Encoding problem (UTF-8)


Hi. I am having a problem with encoding. I was using ISO-8859-1 but the 
Autocomplete did not display the right way some characters (accutes) so I 
decide to change all to UTF-8 (including the -Dfile.encoding=UTF-8, changing 
the editor to UTF-8 and the URIEncoder to the connectors on the server.xml).
The problem with the autocomplete component is already fixed with this changes, 
but I am using too the OnEvent component from t5components. The function on the 
server side returns a JSONObject but :|, again, there are problems with some 
characters (non US-ASCII characters).

I develop in Ubuntu and changing all to UTF-8 fixed both problems, but on 
Windows dose not works with the JSONObject. The database is on UTF-8, all data 
is saved ok, the only problem I get is when returning data on a JSONObject.

Any idea ? :|

Thank you.
--
View this message in context: 
http://www.nabble.com/Encoding-problem-%28UTF-8%29-tp16984643p16984643.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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]

Reply via email to