[Cartoweb-dev] [Bug 1534] encoding and ajax

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Tue Aug 5 04:43:14 EDT 2008


http://bugzilla.maptools.org/show_bug.cgi?id=1534





------- Additional Comments From oliver.christen at camptocamp.com  2008-08-05 04:43 -------
Created an attachment (id=258)
 --> (http://bugzilla.maptools.org/attachment.cgi?id=258&action=view)
decode on php side if ajax on

it seems Ajax forcefully encode in UTF-8 the strings in request, even if the
page charset is set to ISO-8859-1.

Setting the charset of the XMLHttpRequest to ISO-8859-1 do not solve the
problem, the string are still encoded in UTF-8

The proposed solution is to do an Encoder::decode on the request if mode=Ajax

Tested with Ajax mode on and off, and output encoding set to UTF-8 and
ISO-8859-1.

May require additional testing !!!



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Cartoweb-dev mailing list