[TYPO3] Characters not in iso 8859-1

Helge Preuss scout at hyperspace-travel.de
Thu May 24 12:02:33 CEST 2007


Hello,

I have a problem with displaying special chars in content elements. For
instance, the German double quotes ("„“", I hope these show up in your
mail reader correctly) show up as question marks ("?") in the front end.
They are displayed correctly in the RTE and are stored correctly in
tt_content.

I think I can rule out the charset of the DB as culprit (it is currently
latin1_swedish_ci, which contains the German quotes - I have tried utf-8
as well). The HTML header output by Typo3 contains the lines

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

...

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />


The second "Content-Type" line looks suspicious. Nonetheless, the HTML
generated by Typo3 already contains the bungled chars as "?". German
umlauts are displayed correctly though, by the way.

Which setting have I got wrong? It must be possible for Typo3 to display
characters not in iso 8859-1, isn't it?

Thanks,

Helge


More information about the TYPO3-english mailing list