Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
printing characters > chr$(127)
#2
[Image: image.png]

If you click and expand the image above, you'll see that the STARTCHAR for 128 isn't what you'd expect to be seeing here.

I don't have time tonight to dig into it (it's past mine and my little doggo's beddy bye time), but you may try and use _MAPUNICODE to get the QB64 unicode character value for that character and plug it in instead of 128.  

If you remember, we use _MAPUNICODE to make those extended characters to the upper 128 ASCII codes, depending on which code page is in use.  If I had to guess, I'd guess the glitch is in there.

Code: (Select All)
temp$ = Chr$(128)
Print Asc(temp$)
Print _MapUnicode(128)


For example, with the above, you can see that ASCII 128 actually comes from UNICODE 199. Instead of trying to map to 128, map to 199 instead. Wink
Reply


Messages In This Thread
printing characters > chr$(127) - by madscijr - 03-08-2025, 05:19 AM
RE: printing characters > chr$(127) - by SMcNeill - 03-08-2025, 06:48 AM
RE: printing characters > chr$(127) - by SMcNeill - 03-08-2025, 06:54 AM
RE: printing characters > chr$(127) - by SMcNeill - 03-08-2025, 10:05 AM
RE: printing characters > chr$(127) - by madscijr - 03-08-2025, 03:07 PM
RE: printing characters > chr$(127) - by SMcNeill - 03-08-2025, 03:35 PM
RE: printing characters > chr$(127) - by madscijr - 03-08-2025, 03:43 PM
RE: printing characters > chr$(127) - by SMcNeill - 03-08-2025, 04:25 PM
RE: printing characters > chr$(127) - by SMcNeill - 03-08-2025, 05:30 PM
RE: printing characters > chr$(127) - by madscijr - 03-08-2025, 09:20 PM
RE: printing characters > chr$(127) - by SMcNeill - 03-08-2025, 11:06 PM
RE: printing characters > chr$(127) - by madscijr - 03-09-2025, 12:01 AM
RE: printing characters > chr$(127) - by madscijr - 03-09-2025, 02:32 AM
RE: printing characters > chr$(127) - by SMcNeill - 03-09-2025, 03:17 AM
RE: printing characters > chr$(127) - by madscijr - 03-09-2025, 10:56 PM
RE: printing characters > chr$(127) - by madscijr - 03-09-2025, 11:46 AM



Users browsing this thread: 12 Guest(s)