[TYPO3] Euro symbol (€) in UTF-8 from locallang.xml

Manuel Rego Casasnovas mrego at igalia.com
Mon Jul 9 16:46:31 CEST 2007


I have some strings with an euro symbol (€) in one locallang.xml file.
But when I show these strings in my website, after call the function
$GLOBALS['TSFE']->sL(...), I get an interrogation mark (?) when I use
UTF-8 encoding for my site.

All my files are in UTF-8, I've tried to find a solution and I've
printed the value of some attributes of $GLOBALS['TSFE'], and I've get
the next result:

defaultCharSet: string(10) "iso-8859-1"

renderCharset: string(5) "utf-8"

metaCharset: string(5) "utf-8"

localeCharset: string(10) "iso-8859-1"

labelsCharset: string(10) "iso-8859-1"

convCharsetToFrom: array(2) {
  string(10) "iso-8859-1"
  string(5) "utf-8"

I don't know if this information can be useful or no.

Somebody knows this problem? Any idea?

Thank you very much,

Manuel Rego Casasnovas
Computer Science Engineer
mailto:mrego at igalia.com
Tel: +34 986 10 76 10
Fax: +34 981 91 39 49
Igalia - http://www.igalia.com

More information about the TYPO3-english mailing list