[Prototype-core] Re: Ajax.* scandinavian characters

2007-03-29 Thread Mislav Marohnić
On 3/29/07, Christophe Porteneuve [EMAIL PROTECTED] wrote: For POST, you can indeed use Latin1, so long as you: (a) do set the encoding option so your server side isn't confused (b) do not rely on Hash.toQueryString, which will use encodeURLComponent, which by necessity will

[Prototype-core] Re: Ajax.* scandinavian characters

2007-03-29 Thread Jussi Salminen
You can also overwrite encodeURLComponent like this: function encodeURLComponent(component) { //- your own encoding logic ... } Put this into the global scope. However, I don't recommend this. I have notice that... But I it's always better if use just library's own configs than start to