Click here to Skip to main content
15,896,359 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Mysql hosting on 000Webhosting.com and my requirement to insert Indian local languages like "Gujarati" and "English" therefore I have set database and table collation to "utf8_bin" as below

SQL
ALTER TABLE mytable CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin;


and
SQL
ALTER TABLE articles MODIFY Posts VARCHAR(20) CHARACTER SET UTF8;


changed it as above but not works its shows data like "????" Why its not allowed me to store data in local language.

What I have tried:

I have searched on online and altered it as above but not working.
Posted
Comments
MadMyche 3-Dec-19 10:28am    
How are you viewing the data? Is this client being used set to use this charset as well?
MAHESH WAGHELA 3-Dec-19 10:34am    
yes it is altered by me and I have seen it collation changed but not allow to insert local language instead it shows like "????"
[no name] 3-Dec-19 12:05pm    
"Shows" is about "Fonts" - regardless of the characters.
MAHESH WAGHELA 4-Dec-19 0:19am    
yest it is about Fonts. I have set character and collation to utf8_bin but result is "????"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900