jarondl / pygtfs

A python (2/3) library for GTFS
MIT License
63 stars 44 forks source link

pygtfs does not support UTF-8 encoding #66

Closed jonathangat closed 1 year ago

jonathangat commented 2 years ago

append_feed returns UnicodeDecodeError: 'utf-8' codec can't decode byte 0xee in position 107: invalid continuation byte

InterferencePattern commented 1 year ago

Can you provide any more information about the file in question and the actions you tried to take? This looks more like the file wasn't UTF-8.

jarondl commented 1 year ago

I agree with @jimbudarz that error actually says your file was not valid UTF-8. Many GTFS users (including myself) use it on non-english UTF-8.

Without seeing the GTFS file in question it would be hard to diagnose. I'm closing this, but feel free to reopen if you can share the gtfs.