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
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'
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
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('&')
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
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
6 matches
Mail list logo