Skip to content

Consider changing Char to represent a code point rather than a UTF-16 code unit #3662

@natefaubion

Description

@natefaubion

Reference: pure-c/purec#34 (comment)

Exposing Char as UTF-16 code units is problematic for backends that need to use something other than UTF-16 as the underlying representation. Would it be better if Char was encoding agnostic and represented a code point? What would that mean for purescript-strings?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions