I'm pretty sure this isn't a Ruby problem - I think what's happening is that your template has non-ASCII characters in it but is loaded as ASCII (this loading is done by Rails).
On Tue, Jun 16, 2009 at 1:25 AM, slin <[email protected]> wrote: > > Hello, > > Trying to get my application with Ruby1.9, and finally get this error: > > ActionView::TemplateError (invalid byte sequence in US-ASCII) in app/ > views/layouts/app.html.haml: > > haml (2.0.9) lib/haml/engine.rb:88:in `initialize' > haml (2.0.9) lib/haml/template/plugin.rb:21:in `new' > haml (2.0.9) lib/haml/template/plugin.rb:21:in `compile' > haml (2.0.9) lib/haml/helpers/action_view_mods.rb:14:in > `render_with_haml' > haml (2.0.9) lib/haml/helpers/action_view_mods.rb:14:in > `render_with_haml' > app/controllers/start_controller.rb:7:in `index' > haml (2.0.9) lib/sass/plugin/rails.rb:19:in `process' > <internal:prelude>:8:in `synchronize' > > > What it may mean? > > I use postgresql with utf-8. > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
