Skip to content

Shouldn't "\UA66D" be valid, if not a unicode sequence? #112

@renatoathaydes

Description

@renatoathaydes

The test test_parsing/n_string_unicode_CapitalU.json considers that "\UA66D" should fail to parse.

But I am confused by this because the spec says that any character may be escaped, hence it's not illegal to escape U? Sure, this is not supposed to be a unicode sequence because unicode sequences use lowercase u... but why shouldn't the parser accept this as the string UA66D?

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