On Tue, May 26, 2009 at 5:39 AM, tivrfoa <[email protected]> wrote:
>
> 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 &eacute;
>
> <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&aacute; incorreto'
>
> It display Email est&aacute; incorreto.
> I want Email está incorreto.
>
> Help meee! =D

Have you tested with utf-8? That should have worked.

Fidel.

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