[pmwiki-devel] Ajax, JSON, and character encoding

Petko Yotov 5ko at 5ko.fr
Tue May 18 01:21:46 CDT 2010


On Monday 17 May 2010 00:24:06, DaveG wrote :
> Therein lies the problem. If I pass a UTF-8 encoded page back to the
> browser, I now need to make sure I decode the UTF-8 if that data is
> subsequently submitted back to the server. This seems to open a rats
> nest of encoding issues.

Just a short note. Some wikis are in iso8859-2, iso8859-9, iso8859-13, or 
already in utf-8 -- all officially supported by PmWiki -- you shouldn't 
convert from/to these encodings with utf8_encode().

Petko



More information about the pmwiki-devel mailing list