Skip to content

String grapheme splitting support #5

Description

@PgBiel

We are missing a string grapheme splitting algorithm, causing string functions such as length (which originally counts graphemes), split (which splits into graphemes when the separator is empty), as well as pop_grapheme and to_graphemes, to be inconsistent with other targets.

We'd have to investigate the best way forward here. It's likely we'd have to make a small Rust or Python (or Gleam!) program to process Unicode data and generate relevant tables.

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

    help wantedExtra attention is needednix incompatibilitySome function works differently or doesn't work in the Nix target

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions