fsantini / KoboCloud

A set of scripts to synchronize a kobo reader with popular cloud services
Other
1k stars 97 forks source link

Filename with accents #134

Closed louisabraham closed 2 years ago

louisabraham commented 2 years ago

At least Dropbox returns filenames with accents encoded with unicode backslashes: Th\u00e9ophile instead of Théophile.

In bash, it's easy to convert them with echo or echo -e. However, we only have sh on kobo devices. I don't know how to solve that issue.

louisabraham commented 2 years ago

I found a pretty ugly solution https://github.com/fsantini/KoboCloud/pull/133/commits/71d85c0e6465ea2e57b6dd55d191a2448acaa400 Anytime someone has an accent to display, they have to add it to that sed command.