rommapp / romm

A beautiful, powerful, self-hosted rom manager
https://romm.app
GNU Affero General Public License v3.0
2.37k stars 96 forks source link

[Bug] RomM cannot handle folders with 'é' #1293

Open SatorSquare opened 6 days ago

SatorSquare commented 6 days ago

RomM version v3.5.1

Describe the bug If you have a folder that contains an é such as SAM Coupé in your library directory then RomM will choke with an error like:

UnicodeEncodeError: 'utf-8' codec can't encode character '\udce9' in position 1699: surrogates not allowed

To Reproduce Steps to reproduce the behavior:

  1. Create a folder like SAM Coupé in your library
  2. Restart RomM

Expected behavior Ideally RomM would handle this without an issue, however if it cannot then a more clear error message would be helpful.

Desktop (please complete the following information):

Additional context One extra bit of relevancy here. The library was a CIFS volume mount connected to an SMB share on my network. If this cannot be reproduced locally, it's possible that is the extra wrinkle here.