I have mobile application working on HTML5 under Android. User can text message using standard <textarea />
and this will send by $.post() function. Then my PHP script serialize message and put it to MySQL using Zend library. What I have now: 1000 messages are ok and 26 messages are stored truncated in DB. All messages on Russian language. F.e.:
a:3:{s:11:"show_telnum";s:6:"author";s:8:"show_gps";s:3:"all";s:7:"message";s:39:"Интересная штука
a:3:{s:11:"show_telnum";s:6:"author";s:8:"show_gps";s:6:"author";s:7:"message";s:18:"Канечна
a:3:{s:11:"show_telnum";s:6:"author";s:8:"show_gps";s:6:"author";s:7:"message";s:34:"Ну будем знакомы
So this is completed word(s) and then data just truncated. I really have no idea what's goind on, because all Russian text is handled right.
In Zend config array I have settled option 'charset' => 'UTF8',
Please, any suggestions?