When Haml receives the contents of your file from Haml, it is treating it as being in the US-ASCII
encoding, and so produces the error with non-ascii characters.
You can specify the encoding of the Haml in a similar way to how you specify the source encoding of a Ruby file with an encoding comment. Add this as the very first thing in your Haml:
- # encoding: UTF-8