OK, I have a web app that uses PHP, MySQL and JavaScript. In an input box, you type something and if the user types in words using Korean/Chinese/Japanese then it will be messed up.
It appears like this: ヘビーãƒãƒ¼ãƒ†ãƒ¼ã‚·ãƒ§ãƒ³.
It uses a AJAX call and passes through JavaScript wrapped around in encodeURIComponent(), so maybe that’s it? I don’t know. In the MySQL database it shows messed up, too!
My charset encoding on my webpage is iso-8859-1. Help?
That won’t work. You need to upgrade to UTF-8 for non-European languages.