Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Error on line 128: Invalid Windows-31J character #10

@incheon

Description

@incheon

Hello.

I am Japanese user and when I run rake haml:convert_erbs, following errors are returned against some erb files.

Error on line 128: Invalid Windows-31J character "\xE6"

(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 be ja_JP.UTF-8. I've tried both of them but cannot see any improvement.

Could you guess why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions