Change database character encoding?
Hello,
Anyone here knows how to change database character encoding. Say I wish to convert any of the current character encoding to UTF-8?
Is there a simple method to do that? Maybe a simple SQL query.
Anyone here knows how to change database character encoding. Say I wish to convert any of the current character encoding to UTF-8?
Is there a simple method to do that? Maybe a simple SQL query.
Replies
-
Mahesh DahaleTry this simple SQL query
ALTER TABLE tablename CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin;
-
Kaustubh Katdare
Yep - however that messed up my wordpress database 😔 .mahesh_dahaleTry this simple SQL query
ALTER TABLE tablename CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin;
-
Mahesh DahaleSorry for that 😔 see these links
#-Link-Snipped-#
#-Link-Snipped-# -
Kaustubh KatdareI guess I'm going to perform a second test soon. Will keep this thread updated.
Thanks for the links, Mahesh 😀
You are reading an archived discussion.
Related Posts
Pls provide details on HONNING PROCESS in mechanical engg. in detail.
:thanks:
Could someone please post some interesting project ideas on Envoronmental $ Biosystems engineering .
CEans,
Tata Motors are launching their latest sedan - Tata Manza in next few days. Anyone here's got more information about Tata Manza?
Do post latest updates, news about Tata...
We aren't the deciding authorities, but we can surely debate on the topic.
Get started, folks.
News Source: Obama wins Nobel Peace Prize for 2009 - Yahoo! India News
ok, this one is to trigger a discussion
Few of the CEans are aware of adhoc networking and as far as I know there are almost 8 different types of...