UltraStar-Deluxe / USDX

The free and open source karaoke singing game UltraStar Deluxe, inspired by Sony SingStarâ„¢
https://usdx.eu
GNU General Public License v2.0
812 stars 160 forks source link

Polish characters not working #283

Open adamg89 opened 7 years ago

adamg89 commented 7 years ago

Please, do not create duplicate issues

Actual behaviour

Game doesn't view polish characters in songs.

Expected behaviour

In earlier versions changing encoding to CP1250 in config.ini did the job, but now it's not working.

Now ( in verision 1.3.5) it looks like this: https://www.dropbox.com/s/7caaygd6ts7hbzr/image.png?dl=0

how it should look like (screen from version 1.1): https://www.dropbox.com/s/lhuxr7j3564fk90/screenshot0001.png?dl=0

Steps to reproduce

  1. Download any Polish song and launch game

Details

Provide some additional information:

rkalicinski commented 6 years ago

+1

basisbit commented 6 years ago

does converting the files to UTF-8 fix this problem for you (as workaround)?

awojcicki commented 6 years ago

@basisbit I have the same problem. Workaround works (after converting to utf-8 polish characters are correctly displayed)

yami12376 commented 6 years ago

How do you set encoding in config.ini file?

kamil@kamil-K53SV:~/.ultrastardx$ cat config.ini | grep enco
kamil@kamil-K53SV:~/.ultrastardx$ 
basisbit commented 6 years ago

sorry, but file encodings different than utf8 (with or without bom) or winansi / windows-1252 are not supported in current version of usdx. Someone might fix this, but you will just end up with issues again and again later on. The best solution for you would be to convert your files to UTF-8. This will also make sure that future version of usdx and similar games will display these files correctly