Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to mention missing support for UTF-8 input; fails to consider a whole class of applications. #266

Open
alf-p-steinbach opened this issue Jun 25, 2022 · 0 comments

Comments

@alf-p-steinbach
Copy link

[Enter feedback here]

The Windows API does not yet support UTF-8 console input of other than ASCII characters (i.e. English alphabet). The application just receives nullbytes for e.g. input of Norwegian characters. The author is clearly aware of this and expertly avoids mentioning it.

The article fails to differentiate between keyboard input and text output. In particular, a console application can need access to non-text keys such as arrow and function keys, and (less common but) a console application can need undecoded keyboard input. Terminals of old produced escape sequences for e.g. arrow keys but AFAIK Microsoft's list of console escape sequences does not include input escape sequences.

The article fails to consider the class of “screen oriented” console applications that need undecoded keyboard input (the need for that was a key learning point in the Smalltalk project in the late 1970's), and that need efficient output of rectangular areas of text.

Summing up, the document argues insidiously for severely limiting the console i/o functionality, by omitting to mention areas of functionality that will be dropped, or (UTF-8 input) that is as yet not even supported at all in Windows.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant