Open incheon opened 10 years ago
It's a problem with the file's encoding itself. Take a look at http://mindspill.net/computing/linux-notes/determine-and-change-file-character-encoding/ will give you a good strategy to check the files encoding and change it accordingly.
Hello.
I am Japanese user and when I run
rake haml:convert_erbs
, following errors are returned against some erb files.(error character is different for each case, such as "\xE6" or "\xE4")
I compiled some erb templates and partials including Japanese characters. But somehow some of them causes error and the others not.
Moreover some says that put a code
Encoding.default_external = 'utf-8'
to config.ru is efficient and the other says environmental variable LANG should beja_JP.UTF-8
. I've tried both of them but cannot see any improvement.Could you guess why?