use jQuery.param instead of encodeURIComponent  #213