It seems likely that the file is actually in a non-UTF-8 encoding. How to
fix this depends on your editor, and I'm not familiar with the details of
most of them... presumably there would be some configuration option
somewhere that you could set for what encoding to use.

On Mon, Nov 22, 2010 at 1:53 PM, José Mota <[email protected]> wrote:

> Sorry I have not provided enough info.
> * Ruby version: 1.9.2p0
> * > Encoding.default_external
>  => #<Encoding:UTF-8>
> * Sys: Mac OS 10.6.5
>
> Thanks for helping on this, Nathan. I've tried the IRC channels,
> googlin' for it but got zero response...
>
> On Nov 22, 9:35 pm, Nathan Weizenbaum <[email protected]> wrote:
> > What Ruby version are you using? Chances are your file is not actually
> UTF-8
> > encoded, and your OS isn't properly telling Ruby what the encoding is
> (e.g.
> > by setting the locale to something appropriate). What happens if you run
> IRB
> > and do Encoding.default_external?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected] <haml%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" 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/haml?hl=en.

Reply via email to