> > Ruby 1.9.1 requires encoding preambule > > > # -*- coding: utf-8 -*- > > Ruby doesn't require it. I believe it assumes UTF-8
Wrong. s = "ąęć" puts s.size # => 6 vs. # -*- coding: utf-8 -*- s = "ąęć" puts s.size # => 3 puts s.bytesize # => 6 > Also, you don't put it > in your view templates, Right. That is is why I've removed the initial post, but Google was faster and made a copy... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
