In normal way the request is coming like this way

    Parameters: {"utf8"=>"✓", "status_id"=>"12686"}


other than, from one client the requst coming like this way

    Parameters: {"utf8"=>"\xE2??", "status_id"=>"12686"}


So this time i am getting this error "ActionView::Template::Error 
(incompatible character encodings: UTF-8 and ASCII-8BIT)", from client 
browser, so i am bit confused, where this is happening actually, one place 
is 

    <%= form_for(resource, :as => resource_name, :url => 
    session_path(resource_name), html: { class: "signup" }) do |f| %>


is there any issues with clients browser? in these two statements, what 
will be the most change to occur this?


will this solution Ruby on Rails "invalid byte sequence in UTF-8" due to bot 
<http://stackoverflow.com/questions/24648206/ruby-on-rails-invalid-byte-sequence-in-utf-8-due-to-bot>
 
solve this problem?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/ba726e85-021c-4ea5-8113-6de30271d69d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to