hi,
i am trying to grab some foreign character from an html page and insert it into a mysql database ...
For example say the character was chinese or russian,,,when i view it on a webpage it looks fine but when i try to pass it php script it converts to gibberish,,,what should i do to convert those characters to some utf-8 or some other mysql recongnizable format so that i can insert them into a mysql table?
Also i would want to convert them back to their original format when i view them on a webpage later on.
i am trying to grab some foreign character from an html page and insert it into a mysql database ...
For example say the character was chinese or russian,,,when i view it on a webpage it looks fine but when i try to pass it php script it converts to gibberish,,,what should i do to convert those characters to some utf-8 or some other mysql recongnizable format so that i can insert them into a mysql table?
Also i would want to convert them back to their original format when i view them on a webpage later on.