Today, I found someone on Twitter that is saying they localize to Portuguese, which interested me as my game could be better with more languages due to ZDoom's LANGUAGE lump. However, I tried inserting a Portuguese text string into the game and it seems GZDoom can't render anything beyond normal letters, numbers, and symbols; If it ever tries to write something like the multiplication sign or an accented character, it gets replaced with an incorrect character. Strangely, "new line" commands (\n) break on this string too, becoming a weird square with a circle inside it on a bitmap font and two upward arrows on the console font.
- GZDoom's display of accented characters. The "^" and weird block are supposed to be "\n", a new line.
I would say this is definitely a bug but I bet someone will come tell me that this isn't one, so I'm just posting here to ask
if there's any way I can get non-English text to appear correctly; Both fonts have accented characters so they should be displaying correctly; Attached is a demonstration WAD that writes this string to the screen in both fonts:
Code: Select all
TEST = "Isto é uma demonstração. O ZDoom não\n"
"exibe caracteres acentuados\n"
"corretamente.";
It can't be the text file format as GZDoom displays an error if the format isn't ANSI, saying a character is invalid ASCII (then a negative number)