[TYPO3] typo3 database utf-8 conversion

Ernesto Baschny [cron IT] ernst at cron-it.de
Mon Jan 14 21:14:59 CET 2008


Thomas Oppelt wrote: on 12.01.2008 11:43:

>>> http://www.google.ca/search?q=typo3+utf-8
>>>
>>> First hit!
>>>
>>> Then:
>>> http://wiki.typo3.org/index.php/UFT-8_support#Convert_an_already_existing_database_to_UTF-8 

>> one warning and is shown wrong on many links,
>> when you use a resent version of mysqldump, then you don't have to 
>> encode your
>> dump with iconv or other tools since the dump is already in utf-8.
>>
>> Ries
> 
> But does this prevent me from these cases where a s:4:"öäüß"; in latin1 
> is s:8:"öäüß"; in utf-8.
> So if you try to unserialize such a string after conversion u get just 
> false, or not?

I guess you will have to "script" that converter on your own, because no 
"automatic" converter will work with PHP-serialized array. I haven't 
really found the need to do that, in most cases the serialized arrays 
are either some "minor" configuration that can be adapted by hand after 
converting everything else, or some cached stuff that we can clean up 
afterwards anyway. Isn't that the case?

Cheers,
Ernesto


More information about the TYPO3-english mailing list