[TYPO3-dev] typo3 5.0

Dmitry Dulepov dmitry at typo3.org
Mon Oct 30 15:27:48 CET 2006


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...

> But if was the case then also XML would have been broken along with 
> regular text data.

No.

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)




More information about the TYPO3-dev mailing list