Skip to content

Escape control character also prevents detection in utf-8  #65

@DRMacIver

Description

@DRMacIver

The following has no encoding detected:

u'\u020d\x1b'.encode('utf-8')

Again, not a length issue. Padding with ascii doesn't change anything. The initial character is needed, I believe purely because it prevents the fix in #63 from applying by preventing the string from being considered as ascii.

Behaviour is present in 9e419e9

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions