How can I ensure that my form submits with characters in utf-8?
The params hash is showing as below though the part
"d''\xC3\xA9nergie"
should say "d''énergie"
The text in the input field is set by means of javascript from
clicking an element in a list in a popup.
"treatments_attributes"=>
{"0"=>{"treatmenttype"=>"EDSX,
spectrometrie de rayons X \xC3\xA0 dispersion d''\xC3\xA9nergie",
"prepcomments"=>"",
"preptype"=>"",
"refCoupe"=>"",
"problematique"=>"",
"resume"=>"",
"stock"=>"",
"_destroy"=>""}}}
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.