java - utf-8 invisible characters -
i have website, , need store data text field mysql database. frontend perl. used utf8::encode encode data utf8.
the request made java backend connects mysql db , inserts text. table default charset set utf8. works in many cases, fails in cases.
if use テスト, data stored in database shows questions marks: ã??ã?¹ã??. if try insert utf8 encoded string directly sql browser, works fine. update events set summary = ãã¹ã event_id = 11657;
while inserting noticed there blank characters show in mysql query browser, like: ã ã¹ ã. after inserting here, data in database shows boxes in database instead of these spaces, , テスト displays correctly on website after utf8 decoding it. problem when insert directly website, these special characters come question marks in database.
can please me these special characters? need handle them differently?
we have faced similar issue in 1 of projects.so had write small routine convert utf8 characters html encoded , store database.
Comments
Post a Comment