Skip to content

Scanner Generation - Downcasting from int to char #4

Description

@Ynscription

The generated function of the Scanner AddCh() downcasts the int ch where the current character is stored with UTF-32 encoding to a 16 bit char that expects UTF-16 encoding.

This means that glyphs that require surrogate UTF-16 pairs are not being scanned corectly.

image

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions