Skip to content

Invalid error range when the tokeniser finds invalid bytes #115823

Closed
@pablogsal

Description

@pablogsal

When the tokeniser raises errors due to invalid byte sequences only when the parser encoding is implicit (such when parsing a file), the error locations are not properly transformed to character offsets

Linked PRs

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