[TYPO3-dev] typo3 5.0

R. van Twisk typo3 at rvt.dds.nl
Mon Oct 30 15:36:41 CET 2006


Dmitry Dulepov wrote:
> Hi!
>
> Martin Kutschker wrote:
>   
>> R. van Twisk schrieb:
>>     
>>> be careful with serialized arrays in a database.
>>> If your data is in latin1, and at some point you want to upgrade
>>> to utf-8 (database) then your serialized arrays might break.
>>> when you let iconv  or mysql do the conversion.
>>>       
>> How come? Why did iconv break your array?
>>     
>
> Some characters may translate into two byte utf-8 characters but PHP's 
> array length will not change in the serialized form. This way, for 
> example, you may loose all your templavoila mapping if you have 
> non-english charaters in them...
>   
correct...
thanks for the better explanation :)
>   
>> But if was the case then also XML would have been broken along with 
>> regular text data.
>>     
>
> No.
>
>   


-- 
Ries van Twisk
Freelance Typo3 Developer
=== Private:
email: ries at vantwisk.nl
web:   http://www.rvantwisk.nl/freelance-typo3.html
skype: callto://r.vantwisk
=== Work:
email: ries at livetravelguides.com
web:   http://www.livetravelguides.com





More information about the TYPO3-dev mailing list