Skip to content

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xef #55

Open
@ccholet

Description

Hello,

Thank you very much for this python library. It is very useful.

However sometimes, depending of the .sp file, I get an unicode decode error:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xef in position 36: invalid continuation byte

Do you have any idea how to solve this problem ?
The encoding of my sp file seems to be ANSI.
I have tried to convert it into UTF-8, but it didn't solve the problem.

Thanks in advance.

Originally posted by @ccholet in #53 (comment)

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