Many thanks!!!

The problem is that my application is a old asp application and I can
not change all the charsets...

Are there any way to setup ajax (I think something like
jQuery.ajax(...)) in order to set the charset to iso-8859-1




On 2 jun, 21:00, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote:
> jQuery has no core character set, nor does JavaScript.
>
> When you don't specify it everywhere you get mixed sets. Your asp is getting
> utf-8, but you are expecting one of the ascii iso8859 sets.
>
> My advice is to use utf-8 everywhere and make sure you properly handle the
> utf-8 in your asp. You can also use your choice of the other sets... but
> that limits you to a certain fraction of the world's languages.
>
> On 6/2/07, oscar esp <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
>
> > I am doing some test and I have problems with specials chars... are
> > there any way to define charset into jQueryCore?
>
> > My code to post a form:
>
> > main.asp
> > .
> > .
> > <script src="jquery.js"></script>
> > <script>
> > jQuery.noConflict();
> > </script>
> > <script src="jquery.form.js"></script>
> > <body>
> > <form id="test1" action="test2.asp" method="get">
> > <INPUT id="Text1" type="text" name="Text1">
> > <INPUT id="td" type="button" onclick="saveTest();" value="Send"
> > name="Submit1">
> > </form>
> > .
> > .
>
> > JavaScriptFunction:
>
> > function saveTest()
> > {
> >         var options = {
> >         beforeSubmit:  preSubmitAgenda,  // pre-submit callback
> >     success: postSubmitAgenda  //  callback
> >     };
>
> >         jQuery("#test1").ajaxSubmit(options);
> > }
>
> > THE PROBLEM:
>
> > 1)Execute the code
> > 2) Into text Field I write : ú
> > 3) click on button
> > 4) in test2.asp (I get the request), when I check
> > Request.QueryString("text1") value is ="á"  ---------->  instead of
> > "ú"
>
> > I think that problem is related with charset or something like that,
> > because If i execute a normal form without ajaxsubmit i get the right
> > value: ú
>
> > I am not sure if problem is related with jQuery core or form plugin
>
> --
> Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -

Reply via email to