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 encoding you are expecting in the database. Check
  tables AND columns.
  3. All this was perfect in my case yet the page wasn't diplaying kanji
  properly, until I found this script in a forum (although I have no idea what
  would it's equivalent be in PHP):

  before_filter :set_charset

  def set_charset
    @headers["Content-Type"] = "text/html; charset=Shift_JIS"
  end

  I'm not even sure why this works when this is the exact same encoding
  I had especified in my views, but everything works smoothly now. Also, you
  have to place this code in a controller that affects all other controllers
  in you application.

Hope you can fix it and make it work.

Abel.

On 4/5/07, amircx <[EMAIL PROTECTED]> 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...

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


Reply via email to