[jQuery] Re: Encoding forgin languages Jquery+Validation plugin - help!

2007-04-05 Thread Jan Sorgalla


amircx wrote:
 uh, maybe. but its still sends gibrish (try to see in firefox the headers
 that sends)

 and im using php, some of the answers here pepole sent ill be happy if can
 translate the code language to php

Do you send correct headers in your PHP script before outputting the
json code?

header('Content-Type: application/json; charset=utf-8');

Jan



[jQuery] Re: Encoding forgin languages Jquery+Validation plugin - help!

2007-04-05 Thread amircx


the problem is not with mb_substr or whatever cause the problem also happens
once i change somthing (onkeypress)


malsup wrote:
 
 
 jQuery.param encodes to UTF-8 using encodeURIComponent.
 
 
 i think the problem is in malsup script
  return jQuery.param(this.formToArray(semantic));

 its needs to encode it to utf , now its dont
 
 

-- 
View this message in context: 
http://www.nabble.com/Encoding-forgin-languages-Jquery%2BValidation-plugin---help%21-tf3530311s15494.html#a9860746
Sent from the JQuery mailing list archive at Nabble.com.