[opencms-dev] Request character encoding - An answer with a n ew Q

Vlachogiannis Evangelos evlach at aegean.gr
Tue Jun 1 20:47:01 CEST 2004


Thnx for replying .... I have tested current cvs head and at least
properties title and navtext works fine.

-----Original Message-----
From: Sven Bonorden [mailto:bonorden at getit.de] 
Sent: Tuesday, June 01, 2004 10:08 AM
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] Request character encoding - An answer with a n
ew Q

There are several places in OpenCms source code (we only used 5.0.1) where
either ISO-8859-1 is hardcoded or a String is converted using
String.getBytes() without specifying an encoding so a "system default
encoding" is used which is neither the defaultEncoding specified in
opencms.properties nor the file.encoding property specified for the Java VM.
If that's still the same in current cvs head, maybe one of the developers
should do a full search and check these conversions.

At least these functions did not work correct on our system (using UTF-8 as
default encoding):
- properties title and navtext when creating a new page
- email content
- request parameters of multipart forms

Sven


Vlachogiannis Evangelos wrote:

>Same problem ... I am getting ???? for pagetitle
>
>-----Original Message-----
>From: Martin Kuba [mailto:makub at ics.muni.cz]
>Sent: Friday, May 28, 2004 6:24 PM
>To: opencms-dev at opencms.org
>Subject: Re: [opencms-dev] Request character encoding - An answer with 
>a n ew Q
>
>Vlachogiannis Evangelos wrote:
>  
>
>>You mean I do not need to do the conversion? I have tried that and it 
>>does not work ....
>>    
>>
>
>It works for me. But you should *not* specify the encoding using
>
><%@ page language="java" contentType="text/html; charset=ISO-8859-7">
>
>instead you have to set the line
>
>defaultContentEncoding=ISO-8859-7
>
>in the file
>$CATALINA_BASE/webapps/opencms/WEB-INF/config/opencms.properties
>
>and make the JVM default encoding to be ISO-8859-7.
>
>Martin
>--
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Supercomputing Center Brno             Martin Kuba
>Institute of Computer Science    email: makub at ics.muni.cz
>Masaryk University             http://www.ics.muni.cz/~makub/
>Botanicka 68a, 60200 Brno, CZ     mobil: +420-603-533775
>--------------------------------------------------------------
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list To change 
>your list options, or to unsubscribe from the list, please visit 
>http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>  
>


--
Sven Bonorden
Softwareentwicklung und Beratung, GETIT   mailto:bonorden at getit.de

-----
GETIT - Gesellschaft für Technologie- und Informationstransfer mbH

Emil-Figge-Straße 76-80                        http://www.getit.de
44227 Dortmund                                mailto:info at getit.de


_______________________________________________
This mail is send to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list