[Rails] special characters in db
Johan Chaves Saborío
johann04 at gmail.com
Tue Jun 27 14:53:23 GMT 2006
This is my first message in this list, so hi everybody!!! (by the way, sorry
for my english)
I am developing a spanish applications, so some data has special characters
(á, é, ñ, etc...) in database....
The problem is that those caracters display incorrectly in browser, how can
I handle that situation with RoR???
Does it exist a "parser" that convert those characters in their respective
html entities (á, é, ñ) to store it that way in
database???
and if so, how can I tell to the helper methods (collection_select, for
example) to not escape those caracters (I tried to render data stored with
html entities "collection_select" scape the "&" character)
Regards!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060627/1261a914/attachment-0001.html
More information about the Rails
mailing list