[Typo3-dev] locallang.php encoding?

Robert Lemke robert at typo3.org
Sat Aug 27 10:29:40 CEST 2005


Hi Marko,

Marko Rosic wrote:

> I need translating some strings to Serbian... I use UTF-8 on my site, but
> using utf-8 in locallang.php is giving bunch of weird characters in the
> frontend... I need to display cyrillic and latin2 characters somehow?

content of locallang.php is always encoded using the default charset of each
language. If you use UTF-8 in your frontend (which is always a good idea),
TYPO3 will convert the locallang labels to UTF-8 automatically.

Cheers,
robert

-- 
Robert Lemke
TYPO3 Association - Research & Development
Member of the board
http://association.typo3.org





More information about the TYPO3-dev mailing list