Skip to content

Validity of a char value that is a surrogate #513

Closed
@celinval

Description

@celinval

Similar to #78, I was wondering why a value of char that is a surrogate is considered invalid as opposed to valid-but-unsafe.

Can a surrogate point actually trigger immediate UB?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions