flat assembler
Message board for the users of flat assembler.
Index
> Windows > Include files stated as ASCII (should be ANSI?) |
Author |
|
revolution 09 Apr 2021, 20:13
The Windows docs are also wrong. Unicode it not wide-char.
In fact Unicode doesn't specify any encoding, it is just character codes with no notion of how to encode them in ASCII, ANSI, UTF-8, or anything. |
|||
09 Apr 2021, 20:13 |
|
FlierMate 09 Apr 2021, 20:51
revolution wrote: The Windows docs are also wrong. Unicode it not wide-char. You're right, I looked up its definition in the reports, Unicode can have narrow characters as well (not just wide characters). |
|||
09 Apr 2021, 20:51 |
|
revolution 10 Apr 2021, 05:55
That is a different meaning of narrow/wide.
Windows uses wide-char to mean using two bytes per character (and sometimes four with the surrogate pairs). Unicode uses narrow/wide to describe the visual representation of the glyph and the spacing to the next character. |
|||
10 Apr 2021, 05:55 |
|
Furs 10 Apr 2021, 14:02
UTF-16 was a mistake. Microsoft really fucked up and should've used UTF-8 like the rest of the world.
|
|||
10 Apr 2021, 14:02 |
|
bitRAKE 10 Apr 2021, 14:33
Furs wrote: UTF-16 was a mistake. Microsoft really fucked up and should've used UTF-8 like the rest of the world. _________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup |
|||
10 Apr 2021, 14:33 |
|
revolution 10 Apr 2021, 14:37
Furs wrote: UTF-16 was a mistake. "Consistency? What's that?" |
|||
10 Apr 2021, 14:37 |
|
DimonSoft 11 Apr 2021, 11:43
Furs wrote: UTF-16 was a mistake. Microsoft really fucked up and should've used UTF-8 like the rest of the world. Oh, yeah, Microsoft should really be sorry for being nearly the first to adopt Unicode standard and to follow the Unicode Consortium recommendations. Who cares about the Consortium changing their minds 5 years later when Win32s, Windows NT 3.1, Windows NT 3.5, Windows NT 3.51 and Windows 95 had already been shipped thus making it nearly impossible to move to UTF-8 without breaking software written by other guys who also wanted to adopt Unicode as fast as possible. They (Microsoft) should have let Linux guys be the first ones and get blamed. Oh, sorry, something makes me think that we would still use and love UTF-16 in that case, and Microsoft would be blamed for being slow to adopt Unicode. After all, it’s mostly politics. |
|||
11 Apr 2021, 11:43 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.