Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetWindowTextW - can you get it to work?
#11
Yikes, lots to learn. Thanks for the Unicode info.
There are two ways to write error-free programs; only the third one works.
QB64 Tutorial
Reply
#12
(06-10-2024, 09:30 PM)TerryRitchie Wrote: Yikes, lots to learn. Thanks for the Unicode info.

Early adoption of UCS-2 ("Unicode 1.0") led to common use of UTF-16 in a number of platforms, most notably Microsoft Windows, .NET and Java. In these systems, it is common to have a "wide character" (wchar_t in C/C++; char in Java) type of 16-bits. These types do not always map directly to one "character", as surrogate pairs are required to store the full range of Unicode (1996, Unicode 2.0).
Reply
#13
With Unicode, however, you can handle foreign characters sets like Korean, Japanese, and Chinese. You wouldn't necessarily be able to parse the information from those but you'd be able to display them in titles and other Win32 objects. But, again, it's a hassle. If you ever choose to venture out into The Land of Wide Strings, let me know. I have intimate experience with them. Many a sleepless night and head banging session (not the rock music kind. The brick wall kind)
Tread on those who tread on you

Reply




Users browsing this thread: 4 Guest(s)