encoding - How to deal with special chars in php -


i load utf-8 encoded json file using php this:

$string = file_get_contents("_locales/de/messages.json"); 

when echo $string chars like

delete_context":{ "message": "löschen" } 

where should löschen.

any idea how fix that?

possible resolution: php: file_get_contents encoding problem


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -