Hi there,

I have an issue with character encoding on http request that I need to handle 
in my rails apps.

Here's an example of my log :

Processing MessagesController#incoming (for 217.117.146.164 at 2010-04-02 
16:08:27) [GET]
Parameters: {"action"=>"incoming", "z"=>"Je suis un bon ?l?ve.", 
"alias"=>"33699425463", "controller"=>"messages"}
... some db processing...
Rendering messages/incoming
Completed in 39ms (View: 2, DB: 27) | 200 OK 
[http://server.mydomain.com/in/?z=Je+suis+un+bon+%E9l%E8ve.&alias=33699425463]

As you can guess I expect the system to receive the z value decoded as "Je suis 
un bon élève." and not "Je suis un bon ?l?ve."

Anyone as faced this issue already ?

By the way, I cannot ask the request sender to change his encoding method...
On the other hand, I've setup everything in my app to use utf-8 which works 
fine...

Thanks in advance,

Christophe

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en.

Reply via email to