Skip to content

Interoperable support for UTF-8 BOM #516

@stof

Description

@stof

🤔 What's the problem you're trying to solve?

A comment in #398 (comment) brought the question of the support for UTF-8 BOM.

My quick investigation makes me think that the Java parser supports file using an UTF-8 BOM by stripping it from the parsed source (probably related to its non-standard support for other encodings than UTF-8), while other parsers don't seem to support it.

✨ What's your proposed solution?

Should all parsers add support for such BOM-stripping to support UTF-8 files encoded with a BOM ?

⛏ Have you considered any alternatives or workarounds?

No response

📚 Any additional context?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions