-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Hi, when i use pytailer to tail some unicode files (e.g. files incluing chinese characters), the program catch the UnicodeDecodeError saying that:
" 'utf-8' codec can't decode byte 0x9b in position 0: invalid start byte. ". I supposed that it is because the python file.read take bytes size as attribute and return str, where it may cut some 3-bytes utf-8 characters into two parts. I try to fix this problem by reading all files as binary and some other modifications. For now, it works. If you are interested, I would glad to make a contribution to this tool to help others.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels