[TYPO3-dev] RFC: Unicode with preg_replace

Martin Kutschker masi-no at spam-typo3.org
Wed Mar 24 11:48:07 CET 2010


Peter Russ schrieb:
> --- Original Nachricht ---
> Absender:   Martin Kutschker
> Datum:       23.03.2010 21:11:
>> Peter Russ schrieb:
>>
>>> @David: what is your approach for a site to support "Chinese", Japanese,
>>> Russian and German? Ok may work on BE and FE with character set
>>> switches. BUT what is the characterset for the DB? Latin 2 Bytes?
>>
>> What does "Latin 2 Bytes" mean? What you can use as storage charset in
>> Mysql is UCS-2, but
>> unfortunately you cannot work on it with PHP. So you will have Mysql
>> to recode it on the fly for you
>> (it's capable of that). This way you would save bytes on the hard disk.
> 
> Latin 2 bytes is TYPO3's approach before utf-8 to store encoded charset
> in a latin database. Do you remember the setup in install?

If you would have named the config variables name I'd understood right away :)

AFAIK it's only hidden, so old sites still work without the need to change the DB.

Masi




More information about the TYPO3-dev mailing list