acenko / FLACCue

FLAC with cuesheet support for Plex.
MIT License
54 stars 3 forks source link

Russian characters in names are not supported #3

Closed nick4fake closed 4 years ago

nick4fake commented 4 years ago

/var/log/packages/FLACCue.log:

Traceback (most recent call last):
  File "/volume1/@appstore/FLACCue/usr/bin/fuse.py", line 498, in _wrapper
    return func(*args, **kwargs) or 0
  File "/volume1/@appstore/FLACCue/usr/bin/fuse.py", line 708, in readdir
    if filler(buf, name.encode(self.encoding), st, offset) != 0:
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcd0' in position 0: surrogates not allowed
nick4fake commented 4 years ago

https://github.com/acenko/FLACCue/blob/master/synology_package/FLACCue/fuse.py#L708

nick4fake commented 4 years ago

@acenko I've created PR with fix