how to avoid encoding problems using ajax-json and php-postrgesql

kronoshoz

New Member
i have problems with encoding when using json and ajax.chrome and ie encode umlauts as unicode when jsonifying, firefox and safari returning those utf-8 escaped umlauts like ??.where is the best place to give all the same encoding?js / php-get or by writing them to the database.and i think the next trouble is, when i reload the utf-8 encoded stuff from the db, and write them to the browser and then rewrite them to the db, again via ajax-request a get a real chaos?can i avoid the chaous? can i handle the encoding in an easy way?pls. help :-)very important is to also provide security
 
Back
Top