I am just trying to display an infinity symbol for ammo in my game, but I can't get it to work. Can Allegro not display special characters like that? Here is one of the things I tried.
]]>
It can display non ASCII characters, but you need to use UTF-8 encoding and a font that has that character in it.
]]>So would I have to do something with an ALLEGRO_USTR? Why can't it just display the character?
]]>char(236) is -20, the range of char is -128 to 127 only. What you can do is this:
al_draw_text(..., "∞");
or
al_draw_text(..., "\u221e");
]]>