ABo YaSSeR 4 EvER Posted August 21, 2007 Share Posted August 21, 2007 hello, I had a table which contains text in the type of (latin1-swedish-ci), and I want to change this type to UTF-8 Unicode. How can I do this within the PHP script? I tried to create new TABLE and insert values in the OLD table to the new one? but it is failed! I'm using MySQL DB, PHP Please help me! Quote Link to comment https://forums.phpfreaks.com/topic/65957-how-to-convert-text-from-latin-utf8/ Share on other sites More sharing options...
pranav_kavi Posted August 21, 2007 Share Posted August 21, 2007 try applyin utf8_encode() on the text to be inserted into the table. Quote Link to comment https://forums.phpfreaks.com/topic/65957-how-to-convert-text-from-latin-utf8/#findComment-329761 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.