flat assembler
Message board for the users of flat assembler.
Index
> Windows > what is code page? |
Author |
|
baldr 16 Oct 2010, 16:42
b1528932,
Console input code pade tells you how to interpret KEY_EVENT_RECORD.uChar.AsciiChar field from ReadConsoleInputA() for values outside ASCII range. There are multi-byte character sets too: Japanese Shift-JIS, Chinese Big5 and GBK, for example. xxxW functions use UTF-16 LE encoding (code page 1200) which uses surrogate pairs to represent some Unicode code points. It can be seen as they use one codepage. |
|||
16 Oct 2010, 16:42 |
|
b1528932 16 Oct 2010, 20:53
Ok, so how actually goes this translation?
I want to output ascii 0x90. xxA function convert it into utf16 character using code page, then write proper data into CHAR_INFO. when i use xxW function, there is no translation at all, data just go as i input? same for input, just lower layer receive KEY_EVENT_RECORD.uChar.UnicodeChar depending on code page? |
|||
16 Oct 2010, 20:53 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.