2009/4/24 Miguel Beltran R. <[email protected]>

> Hi list
>
> Here in my job the system use MS Sql Server 2000 what not have support
> utf-8, so I need work with ISO-8859-1.
> Using Ajax this send the parameters with encoding utf-8, after read a lots
> post I tried with the options
>   modifica: function(evt){
>      evt.stop();
>      console.log("estro a modifica");
>      $('estado').update("cargando...");
>      var req = $('main_form').request({
>              encoding: 'iso-8859-1',
>              onCreate: function(resp) {
>                 resp.transport.overrideMimeType("text/html;
> charset=ISO-8859-1");
>              }
> });
>      req=null;
>   }
>
> but not work :(
>
>
> User-AgentMozilla/5.0 (Windows; U; Windows NT 5.1; es-AR; rv:1.9.0.1)
> Gecko/2008070208 Firefox/3.0.1
> Accepttext/javascript, text/html, application/xml, text/xml, */*
> Accept-Languagees-mx,es;q=0.8,en-us;q=0.5,en;q=0.3
> Accept-Encodinggzip,deflate
> Accept-CharsetISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive300
> Connectionkeep-alive
> X-Requested-WithXMLHttpRequest
> X-Prototype-Version1.6.0.3
> Content-Typeapplication/x-www-form-urlencoded; charset=UTF-8 <-- still use
> utf-8
>
> can someone give me a tip?
>
>
>
After made more test I found what the problem is with serialize()
if my field have a "รก" (without quotes) serialize return %C3%A1 and I expect
%E1 (1)

(1) http://www.w3schools.com/TAGS/ref_urlencode.asp

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to