Skip to content

error: input contains invalid UTF-8 around byte 30 (of 68) #53

Open
@talalriaz

Description

@talalriaz

I encountered this error while running the following code:

import pycld2 as cld2
text ="""
Happy Tailors Day! Hackett We�re celebrating with a special offer
"""
isReliable, textBytesFound, details =  cld2.detect(text)

Here is the error:

error: input contains invalid UTF-8 around byte 30 (of 68)

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