Skip to content

Position reports incorrect positions with UTF-8 characters #73

Description

@thorulf4

Expected:
image

Wrong behaviour:
image

This happens because UTAP assumes all characters are 1 byte, but some UTF-8 characters are actually 2 or more bytes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions