[TYPO3-dev] German umlauts in menus on PHP5

Christian Lerrahn typo3 at penpal4u.net
Tue Apr 18 04:27:25 CEST 2006


Hi,
I've now solved the following problem. See below for more info.

> As the sites on that Typo3 installation are in German, some of the page
> titles contain German umlauts (ä,ö,ü). This was never a problem with
> PHP4. However, in PHP5 when you generate a GMENU with those site titles,
> the umlauts will not be displayed properly. You either get an empty space
> or strange placeholders. It looks like as if UTF-8 was provided where
> ISO8859-15 is expected. My suspicion is that this has to do with the fact
> that in PHP5 you cannot compile in both mysql and recode support.
> However, this is a PHP upstream thing as according to php.net's bug
> tracker compiling both of them in will crash PHP. Still not too many
> people sem to have had that problem because I couldn't find much on this
> on the web (and no solutions at all :( ). Any hints where the problem
> arises? Is it an ImageMagick/GraphicsMagick issue?

The problem was the use flag "cjk". As soon as you compile in cjk, you
seem to run into this problem. However, I also upgraded to a
MySQL-Version that now uses UTF-8 by default instead of using latin1.
This might also have done the trick. The latter, however, made me need
[BE][forceCharset] = utf8.

Cheers,
Christian

-- 
    So  spricht der Herr: Ich gedenke der Treue deiner Jugend und der
    Liebe deiner Brautzeit, wie du mir  folgtest  in  der  Wüste,  im
    Lande, da man nicht sät.
    
    Jeremia 2,2
    
    /Paulus schreibt:/ Dass einige nicht treu waren, was liegt daran?
    Sollte ihre Untreue Gottes Treue aufheben? Das sei ferne!
    
    Römer 3,3-4
    




More information about the TYPO3-dev mailing list