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....



Jan Sorgalla wrote:
> 
> Hi,
> 
> amircx wrote:
>> 
>> hey all, i need a bit help. i got this form (its in development) :
>> http://www.amir.cx/test5.php , the problem is that once i hit submit and
>> paste a non english letter its makes a problem and dont accept it, or
>> think that is long letter , try to write there "שלוםלכם" and see whats
>> happend, anyone can help me to make it accept utf-8
>> i also uses php to proccess the request with json, but i think the
>> problem happens earlier...
>> 
> 
> I'm guessing you're using the PHP function strlen() to check the length of
> the string in proccessajax.php. This will not work correctly on multibyte
> strings. You can either use mb_strlen($str)[1] (if the mbstring extension
> is installed on your server) or strlen(utf8_decode($str)).
> 
> Jan
> 
> [1] http://php.net/mb-strlen
> 

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

Reply via email to