 |
Convert string to requested character encoding - PHP
You must choose another locale otherwise all non-ASCII characters will be
replaced with question ... That will strip invalid characters from UTF-8 strings (so
that you can insert it into a database, etc.).
php.net |
 |