Skip to content

utf8_string::is_misformatted() returns false even when data is containing invalid UTF8 characters #1

@proxict

Description

@proxict

utf8_string::is_misformatted() deesn't seem to work correctly. When the string contains invalid characters, the function still returns false. I tried loading this sequence: http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt
And the utf8_string tells me it's not misformatted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions