[TYPO3-dev] German umlauts in menus on PHP5
Christian Lerrahn
typo3 at penpal4u.net
Fri Apr 14 13:55:45 CEST 2006
On Sat, 08 Apr 2006 10:36:59 +0200
Martin Kutschker <martin.kutschker-n0spam at no5pam-blackbox.net> wrote:
> Christian Lerrahn schrieb:
> > 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.
>
> TYPO3 uses GD to render text in images. It will convert text to UTF-8
> before calling the text drawing functions.
>
> Did youo do more thatn a PHP upgrade? Maybe something of OS enviroment
> affects PHP/GD as well.
Hm, I didn't change anything else I think but I can't really recall.
However, even if I changed anything else I didn't change it back when I
downgraded back to PHP4. Does Typo3 ever use the DefaultCharset of Apache
in any way? Because this is usually set with Apache default installs but
unset on my Apache install (for another vhost). That's the only thing I
could think of right now which is special about my system.
> As a hack you could try and disable the utf-8 conversion in
> t3lib_stdgraphics.php
Maybe I'll try that on a test system.
Cheers,
Christian
--
"Fürchte Gott und halte seine Gebote; denn das gilt für alle Men-
schen."
Prediger 12,13
/Jesus sprach zu Pilatus:/ Du hättest keine Macht über mich, wenn
es dir nicht von oben her gegeben wäre.
Johannes 19,11
More information about the TYPO3-dev
mailing list