Skip to content

TOML reading should be independent from locale settings #290

Closed
@dahlia

Description

@dahlia

According to TOML specification:

A TOML file must be a valid UTF-8 encoded Unicode document.

The current implementation implicitly decodes the bytes from a package.toml file according to the system locale settings (e.g., LOCALE, LC_ALL).

Scan error: ./package.toml: hGetContents: invalid argument (invalid byte sequence)

Metadata

Metadata

Assignees

No one assigned

    Labels

    cmp:frontendComponent: Compiler frontend (e.g., CLI, parser, AST)dfct:easyDifficulty: Easytyp:bugType: Bug/defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions