umlauts'ä ö ü' with al_draw_text()
nico_c++

HEY Guys,

Simple question:

I am sitting on a simple Allegro Game, but always, when I draw text, it doesnt project umlauts on the screen.
Can somebody help me with that?

Greetings

Edgar Reynaldo

Okay, a few things.

1. You have to save your source file as Unicode. Whether that's UTF-8 or something else is okay.

2. Your ttf font has to support those characters.

3. It should work now.

4. If not, try using unicode literals in your code.

nico_c++

Allright, thanks, I didnt thought of the ttf having umlauts.
I will download another!

Edgar Reynaldo

If you still can't get it to work, post your font and your source code.

Thread #617974. Printed from Allegro.cc