[opencms-dev] Umlaut character problems

Petr Hollay ph at ethikom.de
Mon Sep 15 12:26:01 CEST 2003


Hi,

we have this problem on JDK 1.4.2 on Suse Linux 8.0, but JDK 1.4.1_0x is
working correctly.

Regards
Petr


-----Original Message-----
From: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org]On Behalf Of Bührle, Martin, FCI1
Sent: Monday, September 15, 2003 10:52 AM
To: 'opencms-dev at opencms.org'
Cc: Kammel, Ulrich, FCI3; Heigl, Herbert, FCI; Büttner, Bernhard, FCI1
Subject: AW: [opencms-dev] Umlaut character problems


Hi List,


we had to fight against similar problems on SuSE Linux 7.3 / 8.1 / 8.2
professional with
- Sun JDK 1.4.2_01 for Linux  (j2sdk_1_4_2_01-linux-i586.bin)
- Tomcat 4.1.24 or Tomcat 4.1.27

After several tests we came to the result that first of all You will need
the rpm-paket
"glibc_locale"
for linux installed.
On the SuSE "Minimal System" You won't get this rpm. That was the first
problem we had to solve.

Anyway we still got "umlaute"-errors after installing this rpm-package on
our test-system.
In all our tests we didnt change anything with the code of opencms, just
played around with combinations of
- "-Dfile.encoding=xxx" in the Tomcat-environment  and
- "defaultContentEncoding=xxx" in the opencms.properties-file
We set them always to the same string, because OpenCms doesnt start
otherwise (see the other articles on the list).


What we figured out  with our test-environment is that after installing the
rpm above
  ISO-8859-1 is not working for the "Umlauts" ü and ä (only problems with
lower case);
                   in some environments (not 100% reproducible) it works
when You get the "?" as an error first
                   and You set the correct string again  (rename/change)
afterwards the second time.
  ISO-8859-15 is working
  UTF-8 is working best (shows even the "Umlaute" You entered under
"ISO-8859-xx"-conditions before)

Hope that helps. Maybe the opencms-community can fix this on the way to the
next release.


Best regards
 Martin Buehrle

_________________________________________________________________________
Martin Buehrle
EADS - European Aeronautic Defence and Space Company
Telefax: +49 89 3179-8927
eMail: Martin.Buehrle at lfk.eads.net
_________________________________________________________________________



> -----Ursprüngliche Nachricht-----
> Von:	Mark Miller [SMTP:mark.miller at hema.ch]
> Gesendet am:	Montag, 15. September 2003 10:26
> An:	opencms-dev at opencms.org
> Betreff:	AW: [opencms-dev] Umlaut character problems
>
> One work around would be to use the html codes
>
> eg:
>
> ö = ö or Ö
> ü = ü or Ü
> ä = ä or Ä
>
>
> -----Ursprüngliche Nachricht-----
> Von: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org] Im Auftrag von A. Schirmacher
> Gesendet: 15 September 2003 10:11
> An: opencms-dev at opencms.org
> Betreff: [opencms-dev] Umlaut character problems
>
> I am using OpenCMS 5.0 in its default configuration:
>
> The opencms.properties file has an entry:
>
> defaultContentEncoding=ISO-8859-1
>
> and I have a shell variable
>
> CATALINA_OPTS=-Dfile.encoding=ISO-8859-1
>
> When I create a new page and I use umlaut (äöüß)
> characters for the Title of the page or for the
> navigation string, the title is displayed with a
> question mark in the explorer view, and the navigation
> string is displayed with a question mark at all web
> pages. The question mark is of course where the umlaut
> character was.
>
> The body text however displays umlaut characters
> correctly.
>
> What is going wrong here? Please advise.
>
> __________________________________________________________________
>
> Gesendet von Yahoo! Mail - http://mail.yahoo.de
> Logos und Klingeltöne fürs Handy bei http://sms.yahoo.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
>
>
> _______________________________________________
> 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
_______________________________________________
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