libretro / LRPS2

GNU General Public License v2.0
172 stars 49 forks source link

Game folders that include the special character "⎇" does not work to load from. #232

Open thingsiplay opened 2 years ago

thingsiplay commented 2 years ago

RetroArch version: RetroArch: Frontend for libretro -- v1.10.3 -- 9b282aa742 -- Compiler: GCC (11.2.0) 64-bit Built: Apr 26 2022

PCSX2 version: ad76609

Description of the issue: I usually use this character "⎇" in folder names to indicate alternative versions of the games. This core seems to not function with this character (and possibly other). When I remove this character or replace it with something else, then games from this folder will play.

How to reproduce the issue: Name a folder which includes the character "⎇" and try to run the core with files from that folder.

Last known version to work: It is the first time I tried this with this core. As a sidenote, all other cores (a lot) I tried works with this character.

PC specifications:

OS: Manjaro Linux x86_64
Kernel: 5.19.1-3-MANJARO
Uptime: 23 hours, 47 mins
Packages: 2139 (pacman)[stable], 4 (flatpak)
Shell: zsh 5.9
Resolution: 2560x1440 @ 144Hz
DE: KDE Plasma 5.24.6
WM: Qtile 0.21.1.dev81+g67456def (X11)
Theme: breeze (GruvboxColors) [QT], Klaus [GTK2/3/4]
Icons: breeze [QT], Gruvbox [GTK2/3/4]
Font: Noto Sans (12pt) [QT], Noto Sans (12pt) [GTK2/3/4]
Cursor: default (24px)
Terminal: kitty
CPU: Intel Xeon E3-1230 v3 (8) @ 3.7GHz
GPU: NVIDIA GP104 [GeForce GTX 1070]
Memory: 3.40 GiB / 15.57 GiB (21%)
Disk: 129 GiB / 220 GiB (58%)
Locale: de_DE.UTF-8
terzag commented 2 years ago

Hello, I have the same issue with the PCSX2 core when trying to access disc images that are in a subdir of one named "ÉMULATION". Renaming it to "EMULATION" works. I have not encountered the same issue with any other core (with files in the same path).

I would assume that it has issues with any Unicode character besides the base ASCII table.

Using Kubuntu 22.04 with RetroArch installed as a flatpak.

thingsiplay commented 2 years ago

Thank you for the report and confirming the issue. So that means this is definitely not an issue on my side only, especially if you use the Flatpak version. As a sidenote, RetroArch itself will show a placeholder when using such a character in playlist names. Seems to be a general Unicode issue as you pointed out.