Hey,

nimbus58 a écrit :
> When I check my intended result independently, all is fine but the
> response I get from the updater replaces the 'é', 'è' and 'à' with a
> '?'.
> I tried it with and without the '<meta http-equiv="Content-Type"
> content="text/html; charset=iso-8859-1" />' but no luck.

That's probably because for AJAX, the browser relies on the Content-Type 
actual header, not HTML-provided <meta>...  So on the server side, use 
the proper header setting.

Oh, and iso-8859-1 should go the way of the dodo, it's SO obsolete.  Go 
UTF-8 while you can.  You'll have to eventually, anyway.

BTW, are you actually loading a full page with its <head> through AJAX? 
  What's the friggin' point?!

-- 
Christophe Porteneuve aka TDD
[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to