[opencms-dev] Can not change default encoding

Dimitri Bougoulias D.Bougoulias at ieee.org
Wed Mar 19 13:45:55 CET 2003


Alex,
Try "Cp1251".

Best regards,
Dimitri

-----Original Message-----
From: owner-opencms-dev at www.opencms.org
[mailto:owner-opencms-dev at www.opencms.org] On Behalf Of Alex V Londkevich
Sent: Wednesday, March 19, 2003 4:03 PM
To: opencms-dev at www.opencms.org
Subject: Re[2]: [opencms-dev] Can not change default encoding


Hello Alexander,


AK> Accoring to SUN there is no such encoding as "windows-1251" 
AK> supported in Java. Please see 
AK> http://java.sun.com/j2se/1.4.1/docs/guide/intl/encoding.doc.html for 
AK> a list of supported encodings.

Thanks for help Alexander.
However although this codings no in list, but start java with option
-Dfile.encoding=windows-1251 does not cause exceptions
java.io.UnsupportedEncodingException.


Best regards,
 Alex                            mailto:lond at udm.ru




More information about the opencms-dev mailing list