Skip to content

Read edits in a locale-independent manner #203

@Lysxia

Description

@Lysxia

Issue mentioned on Zulip.

edits are currently read with text's readFile which seems to depend on the locale (like base). And by Murphy's law of locales it is going to be the wrong one for somebody. To make it more robust, we should just require UTF-8, by reading a bytestring and decoding it explicitly. And double check that the edits syntax handles \r for Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions