UltraStar-Deluxe / UltraStar-Creator

UltraStar Creator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[UNIX version] Use UTF-8 instead of ISO-8859-1 for txt files

jmfergeau opened this issue · comments

The program uses ISO-8859-1 format to generate files. Usually, for english songs and texts, it's not really a problem.
But for other languages (french for example) it can cause problems when using other linux programs for song edition (like Yass) with special characters such as accents. So, maybe using the UTF-8 with BOM instead would work well since UltrastarDX seems to recognize UTF-8 with BOM correctly.

Since i'm very noob at programming, i don't know at all if it's possible and how, though.

@maxlefou, please try the latest build after c434497.

please do not set UTF-8 with BOM. There is no advantage of ByteOrderMarking every text line and most standards suggest to just use UTF-8 without BOM.

utf-8 without bom doesn't support accents...
Well at least, everytime I tried, the without bom messes up accents

I will have to look into this...