我添加到 grunt 项目 https://npmjs.org/package/grunt-contrib-haml
Gruntfile.coffee http://pastebin.com/JzDrVhrA
我grunt
在终端运行命令
当我尝试更改haml文件时,我得到了这个
➜ caslty grunt
Running "watch" task
Waiting...OK
> File "index.haml" changed.
Running "haml:compile" (haml) task
Haml error on line 58: Invalid US-ASCII character "\xD0"
Use --trace for backtrace.
Warning: Haml error on line 58: Invalid US-ASCII character "\xD0"
Use --trace for backtrace. Use --force to continue.
Aborted due to warnings.
Completed in 1.160s at Tue Jul 30 2013 12:48:17 GMT+0300 (EEST) - Waiting...
OK
我的 haml 文件http://pastebin.com/BitjWkjq包含俄语字符。但是为什么haml不能处理UTF8?!
我该如何解决这个问题?