Skip to content

Support not a utf-8 encoding #67

@KwangYeol

Description

@KwangYeol

Thank you for your nice project!

Please add an argument encoding to decode that does not utf-8 encoded pages.

content = response.read().decode("utf-8")

I tried EUC-KR encoded page and got an error message.

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbd in position 95: invalid start byte

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