hi folks!
I want to use characters with accent, like: é, ç, ã, ô. Then I changed
from UTF-8 to iso-8859-1, so I can use é direct, instead of é
<html>
<head>
<meta http-equiv="content-type" content="text/
html;charset=iso-8859-1" />
The strange is that when I go in View -> Codification, it is marked
Unicode (UTF-8). :(
But this is not the worst. The browser doesn't change from special
chars to its meaning.
validates_format_of :email,
:with =>
%r{[_a-z0-9-][_a-z0-9...@[_a-z0-9-][_a-z0-9-]*\.[_a-z0-9-]
[_a-z0-9-]*}i,
:message => 'está incorreto'
It display Email está incorreto.
I want Email está incorreto.
Help meee! =D
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---