Skip to content

validate does not handle UTF-8 byte order marker correctly #1755

@ThrawnCA

Description

@ThrawnCA

frictionless.validate treats "UTF-8 with BOM" as simply being UTF-8, which is not always correct; sometimes it is closer to ISO-8859-1 encoding.

If a non-UTF8 character appears in a file after the first 10000 characters (ie the default sample size), then this will result in validate failing with an encoding error.

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