Skip to content

UnicodeDecodeError: 'ascii' codec can't decode byte X in position X: ordinal not in range #4

@raspher

Description

@raspher

Traceback (most recent call last):
File "ftp_check.py", line 64, in
for line in index.read().splitlines():
File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0x82 in position 232045: ordinal not in range(128)

when gathering info from ftp://ftp.isc.org/ as a single-line file /todo/

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