ES wrote:
> It works if I write this as the value for the text field:
> 
> 
> value="<%= @echantillon['material'].force_encoding('UTF-8') %> "
> 
> 
> Which means that when it is doing the SELECT from the database, it is
> not selecting it in UTF-8.  How can I force it to do selects in UTF-8?

Is the database using UTF-8?  Is Rails connecting to it with UTF-8 
encoding?  Is UTF-8 encoding specified in your page headers?

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

-- 
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