Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux] Crash when gamepaths includes wide character #5

Closed
Latrolage opened this issue Aug 24, 2022 · 5 comments
Closed

[Linux] Crash when gamepaths includes wide character #5

Latrolage opened this issue Aug 24, 2022 · 5 comments
Labels
bug Something isn't working lacks info Lacks a log or system information and needs expanding

Comments

@Latrolage
Copy link

I added a folder with japanese characters in its path and the following error occured.

terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: Cannot convert character sequence: Invalid or incomplete multibyte or wide character
@Crementif Crementif added bug Something isn't working lacks info Lacks a log or system information and needs expanding labels Aug 27, 2022
@Crementif
Copy link
Member

Crementif commented Aug 27, 2022

I assume under Windows? Or was it on Linux?

@Latrolage
Copy link
Author

Latrolage commented Aug 27, 2022

Oh, this was with the linux build built from main. it also happens on the linux build found here https://github.com/cemu-project/Cemu/releases/tag/v2.0
My filesystem is ext4
The full path I added was: /media/4tbdrive/Wii Udmps/Zelda.
And I have the folder: /media/4tbdrive/Wii Udmps/Zelda/ゼルダの伝説 夢幻の砂時計.
If I rename/move the folder from ゼルダの伝説 夢幻の砂時計->test it no longer crashes and the game shows in the menu properly.
Once I remove games with Japanese characters in their folder names, it does not crash anymore.
If I remove all other folders and just have an empty folder: /media/4tbdrive/Wii Udmps/Zelda/あああ it does not crash

@Latrolage Latrolage changed the title Crash when gamepaths includes wide character [Linux] Crash when gamepaths includes wide character Aug 29, 2022
@BorjaRRR
Copy link

BorjaRRR commented Sep 2, 2022

Same problem here, in my case it's Spanish characters
Arch Linux

@BorjaRRR
Copy link

Hi. Solved for me in latest build.

@Latrolage
Copy link
Author

Seems to be fixed by 168ecf8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lacks info Lacks a log or system information and needs expanding
Projects
None yet
Development

No branches or pull requests

3 participants