Hey Oscar, You were the reason I wrote this patch!!! Plus I had no beautiful
way to do non-utf encoding

A couple people came up with other solutions, but I like mine best, and it
shrinks the jQuery size a few bytes.


On 6/10/07, oscar esp <[EMAIL PROTECTED]> wrote:


Hi I have a problem realted with charsets as you know.

Could I use this code in order to fix my problem?


On 10 jun, 06:00, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote:
> http://dev.jquery.com/ticket/1289
>
> On 6/9/07, Brandon Aaron <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
>
> > Be sure to add this to trac.
>
> > --
> > Brandon Aaron
>
> > On 6/9/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
>
> > > I also added to the patch renaming the parameter 'xml' and sometimes
'r'
> > > to 'xhr'. I think it makes it easier to read.
>
> > >http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js
>
> > > On 6/7/07, Mike Alsup < [EMAIL PROTECTED]> wrote:
>
> > > > I like this patch. Jörn? Brandon? John? Anyone?
>
> > > > > alternate encoding done cleanly...
> > > > >
http://jqueryjs.googlecode.com/svn/branches/jake-dev/src/ajax/ajax.js
>
> > > > > a small patch allows escape (or other) instead of
encodeURIComponent
>
> > > > > while localizing all calls to encodeURIComponent
> > > > > this patch seems to make the packed size of jQuery even smaller.
>
> > > > > $.pair is used in param (serialize) and can easily be overriden.
>
> > > > > as in
> > > > > $.pair = function(f,v) {return escape(f) + "=" + escape(v)};
> > > > > $.ajax({
> > > > > url: "/test.cgi",
> > > > > data: {foo:'Jörn'},
> > > > > success: function(){console.log(arguments)}
> > > > > })
>
> > > --
> > > Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
>
> --
> Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -




--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ

Reply via email to