Skip to content

Don't allow "UTF-16 surrogate codepoints" in char or str #8319

Closed
@jruderman

Description

@jruderman

I think

> "\uD800"
"\ud800"

should be disallowed at compile time and

> 0xD800 as char
'\ud800'

should assert. Or even better, the incomplete int as char could be removed.

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