Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PrintW - print a long string, breaking it at the last space or hyphen before col. 79
#19
(04-17-2024, 12:06 PM)SpriggsySpriggs Wrote: I first thought this was some unicode/wide string thing since it has the "W" suffix.
QB64 is essentially a 16-bit DOS environment masquerading under the Windows GUI. As such, it can not display wide strings. It might be able to work with them if you had UTF-8 (Unicode) or UTF-16 (Windows API W-style functions) translation. For it to work natively, the program and environment would have to be Wide chararcter or Unicode aware. It also could not operate through Windows terminal as it only supports 8-bit ASCII or possibly one of the alternate Windows code pages.  Now, if sending strings to a Windows control, or handling them internally as special strings, a properly formatted wide string might work, but for ordinary PRINT output purposes, everything has to be ASCII-based (Windows API A-style functions).
While 1
   Fix Bugs
   report all bugs fixed
   receive bug report
end while
Reply


Messages In This Thread
RE: PrintW - print a long string, breaking it at the last space or hyphen before col. 79 - by TDarcos - 04-19-2024, 01:37 PM



Users browsing this thread: 2 Guest(s)