Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unicode characters above 127
#11
(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!
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.) Big Grin
Please visit my Website at: http://oldendayskids.blogspot.com/
Reply




Users browsing this thread: 1 Guest(s)