Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
_TITLE and extended ASCII characters.
#2
CHR$(240) is a mapped unicode character, so it's going to display, by default, whatever code page your OS is configured for. (In this case, you're getting the o with the accent over it.)

As far as I can guess, the only way you'd work around this is to use wide characters and call the windows call to set the title yourself.

https://learn.microsoft.com/en-us/window...indowtextw <-- use this for the windows API call to the unicode characters.

Code: (Select All)
_TITLE CHR$(240) + "Foo"

i% = _MAPUNICODE(240)
t$ = MKI$(i%)
title$ = t$ + "F o o "

^ And I'm thinking the above should give you the actual unicode characters that you'd bee looking for.

I'm lazy (and running back and forth to the kitchen cooking breakfst), so I haven't tested putting the pieces together yet, but it seems as if they should do what you want.
Reply


Messages In This Thread
_TITLE and extended ASCII characters. - by Pete - 11-15-2022, 04:25 PM
RE: _TITLE and extended ASCII characters. - by SMcNeill - 11-15-2022, 05:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Displaying French characters? bplus 6 1,120 05-06-2025, 06:14 PM
Last Post: Petr
  printing characters > chr$(127) madscijr 18 2,168 03-11-2025, 07:33 PM
Last Post: madscijr
  Need some help getting characters to follow each other correctly Cobalt 6 1,060 11-22-2024, 01:19 AM
Last Post: Cobalt
  control characters in Change dialog box digitalmouse 10 1,862 05-09-2024, 02:17 AM
Last Post: digitalmouse
  Error when inputting ASCII text from COM port MichelleL 11 1,923 01-24-2024, 08:01 AM
Last Post: mdijkens

Forum Jump:


Users browsing this thread: 1 Guest(s)