QB64 Phoenix Edition
Unicode characters above 127 - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10)
+---- Thread: Unicode characters above 127 (/showthread.php?tid=3095)

Pages: 1 2


RE: Unicode characters above 127 - PhilOfPerth - 10-07-2024

(10-05-2024, 11:07 AM)RhoSigma Wrote:
(10-05-2024, 12:43 AM)PhilOfPerth Wrote: Thanks all. I got most of that. It seems I need to find a font with my character glyph in it.
The _UPRINTSTRING method seems like the way to go; it gave me the Unicode character 1046 ok, but the character I want (2022) is apparently not in that font. Is there a way to find a common font that has this character in it?

Ah, a list bullet. Why unicode, I see at least two, with _CONTROLCHR OFF even five alternatives in the QB64 inbuilt font:
Code: (Select All)
_CONTROLCHR OFF
PRINT CHR$(4); CHR$(7); CHR$(9)
_CONTROLCHR ON
PRINT CHR$(249); CHR$(254)

Otherwise it could be hard to find a suitable font, my best guess was "Arial Unicode MS", the most complete unicode font I've found so far, but when I checked even that font doesn't have the U2022 in it.

Thanks RhoSigma. I wasn't aware of the effects the _ControlChr command had; the chr$(7) char with it set to OFF is the one I needed; Now I have one more in my  useful commands list!
Edit: Now I've found a whole heap of useful glyphs in there!