[TYPO3] typo3 database utf-8 conversion

Steffen Kamper steffen at sk-typo3.de
Tue Jan 15 17:02:06 CET 2008


"Ernesto Baschny [cron IT]" <ernst at cron-it.de> schrieb im Newsbeitrag 
news:mailman.1.1200341699.23624.typo3-english at lists.netfielders.de...
> 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

i don't think that is needed. As a dump is a normal textfile there is no 
difference between text and serialized array, conversion will be done for 
complete text.

vg  Steffen 




More information about the TYPO3-english mailing list