adarsh Posted January 24, 2007 Share Posted January 24, 2007 Hello friends, i m retrieving encoded data's(Japanese format) from the database MYSQL using php. But, in mysql database data's are in question marks(UTF-8 format). But, while retrieving data's to browser i want in correct format ..... please, suggest me how to do ... Link to comment https://forums.phpfreaks.com/topic/35501-problem-in-encoding-using-phpmysql/ Share on other sites More sharing options...
fenway Posted January 24, 2007 Share Posted January 24, 2007 This is likely a PHP character set issue.... Link to comment https://forums.phpfreaks.com/topic/35501-problem-in-encoding-using-phpmysql/#findComment-168003 Share on other sites More sharing options...
adarsh Posted January 24, 2007 Author Share Posted January 24, 2007 Now, how can solve this issue ... i tried in so many wayz ... but, nothing was happened ... Link to comment https://forums.phpfreaks.com/topic/35501-problem-in-encoding-using-phpmysql/#findComment-168009 Share on other sites More sharing options...
fenway Posted January 24, 2007 Share Posted January 24, 2007 Not sure.. moving this to the PHP help forum. Link to comment https://forums.phpfreaks.com/topic/35501-problem-in-encoding-using-phpmysql/#findComment-168021 Share on other sites More sharing options...
anatak Posted January 24, 2007 Share Posted January 24, 2007 adarshit has probably to do with the connections to the database.Are you using ADOdb connections or not ?if you use ADOdb connection you should read this http://www.adviesenzo.nl/examples/php_mysql_charset_fix/if not you have to make sure that you define the utf in your html (meta tag)any way read the link and if you still need help let us know.Do you know how to send UTF data (japanese text) to a javascript object called new Option() ?I am trying to do this but the javascript object changes the & from UTF encoding into &kind regardsanatakPS programming for Japanese is a challenge :D Link to comment https://forums.phpfreaks.com/topic/35501-problem-in-encoding-using-phpmysql/#findComment-168045 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.