On 5/18/2010 2:21 AM, Petko Yotov wrote:
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().
Understood, and this is part of why I'm questioning my approach. It
seems to me that sending something back via JSON opens a huge can of
encoding issues. I kind of assumed I'd taken a wrong turn. I'll give XML
a quick try and see if that is better.
_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel