So, there are a few combinations of letters that, when typed into a string or a chat message, cause a question mark to appear in GZDoom, in place of the two letters that were just written.
An example of this is øš, which I found out after messing around with the GZDoom codepage in trying to make the Serbian Cyrillic alphabet (by changing the Doom letters to Cyrillic based on Windows-1251 and using the letter combination шљ). If you copy and paste it into GZDoom chat, it ends up as a ? instead.
I have no idea what makes this happen. Does anyone know?
(Original text: Имаш среће што те нисам ударио када си размишљао о одласку.)
Letter combos causing a question mark to appear in GZDoom
- Marisa the Magician
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
- Contact:
Re: Letter combos causing a question mark to appear in GZDoo
Wait, GZDoom isn't utf-8?
Re: Letter combos causing a question mark to appear in GZDoo
Unicode? Not that I know of.
- phantombeta
- Posts: 2088
- Joined: Thu May 02, 2013 1:27 am
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: Brazil
Re: Letter combos causing a question mark to appear in GZDoo
Nope. There was some work on UTF-8 semi-recently, but nothing came out of that.Marisa Kirisame wrote:Wait, GZDoom isn't utf-8?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Letter combos causing a question mark to appear in GZDoo
That particular combination of characters gets caught in an attempt to convert UTF-8 to ISO 8859-1. GZDoom does NOT support Windows 1252 because that code page can conflict with UTF-8. Only proper ISO 8859-1 is supported.
In general I strongly advise against repurposing characters. If GZDoom ever gets a TrueType font renderer for some screens this will turn into unreadable gibberish.
In general I strongly advise against repurposing characters. If GZDoom ever gets a TrueType font renderer for some screens this will turn into unreadable gibberish.
Re: Letter combos causing a question mark to appear in GZDoo
Aaah. Okay. I thought Windows-1252 was the main codepage. Now I know what to look out for.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Letter combos causing a question mark to appear in GZDoo
That aside, would you mind donating the characters so that they can be placed into the proper slots for cyrillic UTF-8 text?
Re: Letter combos causing a question mark to appear in GZDoo
Sure! I’ll send them in a PM.
- theleo_ua
- Posts: 162
- Joined: Sun Feb 07, 2016 11:38 am
- Operating System Version (Optional): Windows 10
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
- Location: Ukraine
- Contact:
Re: Letter combos causing a question mark to appear in GZDoo
Russian fonts from Strife in PSD which Julian (Russian Doom author) gave me : https://drive.google.com/open?id=1sYj-q ... neaiYmwHUUUndead wrote:Sure! I’ll send them in a PM.