[opencms-dev] Can not change default encoding
Alexander Kandzior
alex at opencms.org
Tue Mar 18 19:27:48 CET 2003
Accoring to SUN there is no such encoding as "windows-1251" supported in
Java. Please see
http://java.sun.com/j2se/1.4.1/docs/guide/intl/encoding.doc.html for a
list of supported encodings.
Best Regards,
Alex.
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com
> -----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: Tuesday, March 18, 2003 8:49 PM
> To: opencms-dev at www.opencms.org
> Subject: Re: [opencms-dev] Can not change default encoding
>
>
> Hello Alex,
>
>
> AVL> I want to change HTTP responses encoding to
> 'windows-1251'. I 'set
> AVL> defaultContentEncoding=windows-1251' in
> opencms.properties and set
> AVL> 'CATALINA_OPTS=-Dfile.encoding=windows-1251'.
>
> I happened to to change class com.opencms.core.A_OpenCms
> ( private static String m_defaultEncoding = "windows-1251"; )
> to get necessary me HTTP respons.
>
> can be even so there is more light way?
>
>
>
>
> Best regards,
> Alex mailto:lond at udm.ru
>
More information about the opencms-dev
mailing list