[jQuery] Re: JQuery Form Plugin: encodeURIcomponent/decodeURI with ISO-8859-1

2007-05-15 Thread Sithram PG
Thanks SeViR for your help, but in this case I must use ASP, nor ASP.NET. Regards, 2007/5/15, SeViR <[EMAIL PROTECTED]>: > > > Have you check to decode in server side? > > /Encoding iso = Encoding.GetEncoding("iso8859-1"); > //Encoding unicode = Encoding.UTF8; > > I have never any problem with

[jQuery] Re: JQuery Form Plugin: encodeURIcomponent/decodeURI with ISO-8859-1

2007-05-15 Thread SeViR
Have you check to decode in server side? /Encoding iso = Encoding.GetEncoding("iso8859-1"); //Encoding unicode = Encoding.UTF8; I have never any problem with that. / sithram escribió: Thanks Tony and Mike for your help, but I continue with the same problem after your indications. If I don'

[jQuery] Re: JQuery Form Plugin: encodeURIcomponent/decodeURI with ISO-8859-1

2007-05-12 Thread sithram
Thanks Tony and Mike for your help, but I continue with the same problem after your indications. If I don't use ajax to send data (I mean I use normal submit) the ASP page of the server works fine and insert information with the correct characters. Regards, Xavier On 12 mayo, 15:39, "Mike Alsu

[jQuery] Re: JQuery Form Plugin: encodeURIcomponent/decodeURI with ISO-8859-1

2007-05-12 Thread Mike Alsup
You just need to decode the UTF on the server. JavaScript uses UTF-8 for encoding. You don't want to send the unencoded data, that defeats the whole point of encoding. Mike function showFORM(formData, jqForm, options) { var queryString = $.param(formData); qs=queryString.split('&')

[jQuery] Re: JQuery Form Plugin: encodeURIcomponent/decodeURI with ISO-8859-1

2007-05-12 Thread Tony
Maybe you shuld use a option 'contentType' in the $.ajax function, or simple use $.ajaxSetup to setup ISO-8859-1 charset. See documenttation of jQuery how to do that. Regards Tony

[jQuery] Re: JQuery Form Plugin: encodeURIcomponent/decodeURI with ISO-8859-1

2007-05-11 Thread sithram
More information: In the ASP page I have a URLdecode function to use it before insert the data: function URLDecode(psEncodeString) { return unescape(psEncodeString); } I test with this one too: Private Function URLDecode_vbs(byVal encodedstring) Dim strIn, strOut, intPos, strLeft Dim strRi