some time we need to save data into another language such as Hindi.
if we want save Hindi font in MySQL then we have to take care of collation
Steps
when you are creating a table, see collation column. select urf_general_ci. if you will choose another collation and will insert Hindi text then it will appear like "?????? ?? [][][][][][]"
Solution
if we want save Hindi font in MySQL then we have to take care of collation
when you are creating a table, see collation column. select urf_general_ci. if you will choose another collation and will insert Hindi text then it will appear like "?????? ?? [][][][][][]"
Solution
I did this , but not working
ReplyDeletesir
This is running on localhost, gives problem on when war file upload on vps.
ReplyDeleteHi Sukesh,
DeleteSorry for late reply.
Pls share your database collation screen-shot.
there are two things which you should taken care before saving Hindi data.
1st is database collation and
2nd do not set any other utf character while fetching the data using php.
Let me know if you are still facing the problem.
i do type in krutidev010 font.... but not able to post in my account on wordpress... plz give solution
ReplyDelete