mysql: possible loss of UTF data from char to text field type conversion? -


I have a database that I use for a foreign language / glossary web application and with it phpMyAdmin (and of course Php). I had about one thousand rows for Arabic text, which were kept in four areas. I wanted to expand the size of my entries, so I read that a text field could find me before the limit of 255 characters. I changed the field type to text - and now all Arabic entries were now displayed as question marks, crap etc. I have worked with that type of display in the whole site's design, to ensure that all the character sets are correct, and it is performing well for months of this change.

I returned all the structure of the table to the best of my knowledge in its original state, and the problem persists. This is a very destructive loss, and I am basically thinking whether these lines have not been given only, or if I'm not just resetting things properly, how to get this data back, its Any thoughts about?

Many thanks in the very beginning

You may find that the alter table statement The character set should be specified, because it can be the default on some nonsense (like Latin 1).

If the data is lost then it is permanent. You need to backup this to: - (


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -