Mysql – Deprecated utf8_encode($foo) works while mb_convert_encoding($foo, 'UTF-8) does not
I have a very annoying issue when transferring data from PHP (which is set up with default_charset = 'UTF-8') to MySQL, on an IIS environment with web.config set to: <globalization requestEncoding="UTF-8" responseEncoding="UTF-8" /> Also tested on an Apache Environment with…