audacious-media-player / audacious

A lightweight and versatile audio player
https://audacious-media-player.org
Other
877 stars 116 forks source link

error dialog when opening cue file with non-ascii characters #1459

Open FelipeLema opened 2 months ago

FelipeLema commented 2 months ago

Describe the bug I get an error dialog when dragging a .cue file with japanese characters. VLC plays the same file just fine.

Steps to reproduce Explained in bug description.

Expected behavior Audacious plays the cue file like any other (this one file is the one I have problems with).

Additional information

jlindgren90 commented 2 months ago

I can reproduce, but the issue seems to be in libcue. Maybe it does not support UTF-8 properly. The "bad character" error is from here: https://github.com/lipnitsk/libcue/blob/7176a1faccecbfe2d4cca2f776177439ca49cad2/cue_scanner.l#L138

FelipeLema commented 2 months ago

thanks for the quick answer

will open an issue there. If y'all don't mind I'll keep this one open until a version that fixes such issue is pulled in for this repo