Displaying 1 result from an estimated 1 matches for "encodeurlcomponent".
Did you mean:
encodeuricomponent
2006 Apr 14
6
character encoding in ajax submit
...es.
The problem scenario:
When I submit the same thing with Prototype over XMLHttpReq with the
parameter set to a Form.Serialize of some form, I get that same
character encoded in what looks like its 2-byte Unicode representation.
The real question:
Basically it boils down to the built-in encodeUrlComponent returning
2-byte encodings, while the browser seems to do a 1-byte encoding. My
server isn''t handling the 2-byte encoding correctly. It seems weird to
me that the two methods would produce differing results. Am I doing
something wrong?
Thanks again for any tips!
Rahul
_________...