[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)); >>

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

2007-04-05 Thread Mike Alsup
uh, maybe. but its still sends gibrish (try to see in firefox the headers that sends) How is it gibrish? Don't rely on Firebug to display everything correctly. Try pointing your form to a page like this and alert what you get back: { "myData": "" } When I alert that response it sure looks

[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 jso

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

2007-04-05 Thread amircx
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

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

2007-04-05 Thread Mike Alsup
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

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

2007-04-05 Thread Jan Sorgalla
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 "שלוםלכם"

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

2007-04-05 Thread jim
> @headers["Content-Type"] = "text/html; charset=Shift_JIS" This sets the http content type header to indicate the character set the page uses for the browser: it reflects what you see (in firefox) when you look at the Tools > Page Info > Encoding. In my experience putting the character set

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

2007-04-05 Thread amircx
i think the problem is in malsup script return jQuery.param(this.formToArray(semantic)); its needs to encode it to utf , now its dont no? Beren wrote: > > I tested the page an nothing happened: no results but no errors triggered > either. > I recently had problems with Ajax and encoding in

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

2007-04-05 Thread Abel Tamayo
I tested the page an nothing happened: no results but no errors triggered either. I recently had problems with Ajax and encoding in Ruby on Rails and this is the advice I can give you: 1. Check the meta tag where you specify the encoding (although yours seem to be fine). 2. Specify the enco