[opencms-dev] Input text encoding

Jorge González informatico at hotelparadisepark.com
Wed Jun 22 15:32:07 CEST 2005


Hi list:

Opencms uses UTF-8 for everything, i think this is cool.

How do you configure the form encodings to work with opencms without storing
/ showing weird characters ?

I'm spanish, so my default browser encoding is ISO-8859-1

I'm looking for a default input/output encoding translator, because now i'm
doing this...
--
name = new String(name.getBytes("ISO8859_1"), "UTF8");
--

It works, but it's totally error prone and very ugly indeed.


Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050622/de37cdb4/attachment.htm>


More information about the opencms-dev mailing list