Hi I have to save hindi languages in mysql. how can I do that. any one knows the solution please help me.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to store all text as UTF8, then you’ll be able to see Hindi characters. You can update a column to use UTF8 with a query like the following:
Since you use PHP, make sure that all your PHP scripts are saved as UTF8. You can also set the connection charset with the following query:
This will ensure that your web server and database servers communicate using UTF8.