Posts Tagged ‘unicode’

Posted in php on November 25, 2009

Set all PHP internals to UTF-8

If you have problems with transcoding strings, for example, between ISO-Latin and UTF-8, it can help if you set the internal encoding to UTF-8 ini_set('mbstring.internal_encoding','UTF-8'); ini_set('mbstring.http_input','UTF-8'); ini_set('mbstring.http_output','UTF-8'); Continue Reading