night / betterttv

BetterTTV enhances Twitch with new features, emotes, and more.
https://betterttv.com
Other
1.21k stars 267 forks source link

Export/backup function can't handle umlauts #4751

Closed jlntrt closed 3 years ago

jlntrt commented 3 years ago

Hey there,

in case you entered keywords that should highlighted in chat containing umlauts or other special characters, then backup/export your BTTV settings, the umlauts and special characters are saved as "�".

In my case I want to highlight the German word "fußball" (football). The exported json (.backup) file has the value "fu�ball". This is the case with German umlauts like ä, ü, ö as well.

Tested with version 7.3.5

emnificent commented 3 years ago

The file is probably saved with the encoding setting set to ANSI when it should be UTF-8. While waiting for an update, you probably can manually fix the � and other mishaps, and re-save the file under UTF-8 encoding.

jlntrt commented 3 years ago

Thanks @EmbitiousDev . I already fixed it manually and checked the encoding of the exported file too. Interestingly it is utf-8 encoded, when I open it with vscode.

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related issues or feature requests.