Hi, I''m having several troubles with the special chars of my latin language like ã á é. I noticed the problem using prototype to do a Ajax request. The ajax request sends params by get that are then processed in a PHP file that saves them in the DB. In the DB the word "né" was saved as "nÃ(c)", a clear signal of encoding problems. Right now my solution is to use utf8_decode in my PHP, like this: utf8_decode($_GET[''c'']). that way the data is correctly saved in the DB and shown OK in my page. My previous solution was to modify "function toQueryPair(key, value)" in prototype 1.6 to this return value: return key + ''='' + escape(String.interpret(value)); THIS IS NOT RECOMENDED and was a quick fix I saw elsewhere. And if you do a request with ajax that returns html stuff with special chars and then you need to show then, don''t forget in the .php that returns the data to use utf8_encode. Just sharing my battle with special chars, btw this should be in a FAQ somewhere :) I''m hoping my solution is correct (works with my configs), any new ideas are welcomed. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---