TeamPyOgg / PyOgg

Simple OGG Vorbis, Opus and FLAC bindings for Python
The Unlicense
63 stars 27 forks source link

On Windows, non-ascii path breaks VorbisFile #84

Closed tyrylu closed 3 years ago

tyrylu commented 3 years ago

Hello. When passing a path to VorbisFile and the path contains a non-ascii character, on Windows it results in a -1 error code from the C library. It would seem that vorbisfile and friends do not expect UTF-8 encoded strings, at least not on Windows.

mattgwwalker commented 3 years ago

Unfortunately, you're entirely right. Issue #53 gives you an idea of where we are on this topic.

Would you like to contribute a solution to this issue? If you're interested, please let us know.

I'll close this issue, but please feel free to continue the discussion on the other thread (#53).

Thanks,

Matthew