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)}
   })


PS posted here because the dev list is pretty down.
--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ

Reply via email to