[TYPO3] Euro symbol (€) in UTF-8 from locallang.xml
Manuel Rego Casasnovas
mrego at igalia.com
Thu Jul 12 12:21:27 CEST 2007
Hello,
I don't solve this problem yet.
But I'm reading some documentation, I think that my problem is related
with the attribute $GLOBALS['TSFE']->labelsCharset. And I don't know if
I have some mistakes in my TypoScript config.
I think that the value for this attribute is calculated from the
typoscript configuration, the variable config.locale_all.
Next I've printed some attributes of the object $GLOBALS['TSFE']:
- Language: ga
$GLOBALS['TSFE']->config['config']['locale_all']: gl_ES at euro
$GLOBALS['TSFE']->defaultCharSet: iso-8859-1
$GLOBALS['TSFE']->renderCharset: utf-8
$GLOBALS['TSFE']->metaCharset: utf-8
$GLOBALS['TSFE']->localeCharset: iso-8859-15
$GLOBALS['TSFE']->labelsCharset: iso-8859-15
$GLOBALS['TSFE']->convCharsetToFrom: Array
(
[from] => iso-8859-15
[to] => utf-8
)
In this case the euro symbol is showed well.
- Language: es
$GLOBALS['TSFE']->config['config']['locale_all']: es_ES at euro
$GLOBALS['TSFE']->defaultCharSet: iso-8859-1
$GLOBALS['TSFE']->renderCharset: utf-8
$GLOBALS['TSFE']->metaCharset: utf-8
$GLOBALS['TSFE']->localeCharset: iso-8859-15
$GLOBALS['TSFE']->labelsCharset: iso-8859-1
$GLOBALS['TSFE']->convCharsetToFrom: Array
(
[from] => iso-8859-1
[to] => utf-8
)
But in this the euro symbol isn't showed.
The difference between these languages is the labelsCharset attribute
(in galician "iso-8859-15" and in spanish "iso-8859-1").
I don't know because this value is different.
Best regards,
Rego
--
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