I’m working on a TADS/adv3 text adventure (using frobtads) in German, and I’d like to include the language-specific characters ä, ö, and ü in my text. Although I’ve set the charset to UTF-8, the characters are not displayed correctly in the terminal. I’m using the G-TADS library extension, but that one uses ae, oe, and ue instead of ä, ö, and ü. Does this mean that these characters aren’t supported, or could there be another reason for this?
On another note, I was also trying to use the █ character in my text, but it gets replaced with question marks. Is there anything I can do to make this work?
I’d really appreciate any suggestions you have! Thanks in advance for your help!
Hm… I don’t know if there is an answer for displaying these characters in FrobTads specifically, but on my computer the special characters do not appear in FrobTads but they do with QTads.
Oh wow, thanks everyone for your quick answers! The -k "utf-8" tag indeed solved the issue!
However, now that I’m running it with UTF-8 encoding, another issue has popped up: In my code, I use <q>...</q> for quotation marks, but now these are displayed improperly as �~~. Any suggestions on how to fix this?
Hmm that’s interesting … I’m also running it on a Mac, and it worked for me. Have you also set the charset in the source file like @jbg mentioned? Or perhaps it could be the character encoding settings of your terminal? (not sure though if this matters)
Actually no, I’m using us-ascii, but I use the \u codes now and then embedded in strings. But it’s not a big deal for me, the special characters are very limited and the game is meant to be run in QTads anyway…