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

Supplementary Multilingual Plane characters #321

Closed
ghost opened this issue Dec 8, 2018 · 2 comments
Closed

Supplementary Multilingual Plane characters #321

ghost opened this issue Dec 8, 2018 · 2 comments
Labels
Product-Conhost For issues in the Console codebase Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@ghost
Copy link

ghost commented Dec 8, 2018

Windows 10 October 2018 Update (build 1809) is supposed to finally allow the
console to support SMP (4 byte) characters:

http://blogs.msdn.microsoft.com/commandline/2018/11/15/windows-command-line

However in practice it is not working for me. I created a virtual machine:

http://microsoft.com/software-download/windows10ISO

and utilizing this character:

U+10480 OSMANYA LETTER ALEF
𐒀

http://fileformat.info/info/unicode/char/10480/index.htm

the output is 4 bytes 0xF0 0x90 0x92 0x80, which is displayed as 2 invalid
characters U+D801 and U+DC80 (surrogate pair) rather than a single valid
character U+10480. Am I doing something wrong or is this still not supported by
Windows console?

@DHowett-MSFT
Copy link
Contributor

The console in 1809 can store SMP codepoints, but it cannot yet render them. Doing something about our legacy GDI renderer (which doesn't support much beyond UCS-2) is on our backlog.

A quick test would be to copy those two invalid characters into another application. When I do that, I get this (where my "other application" is the Run dialog):

image

@zadjii-msft
Copy link
Member

This is effectively a dupe of #190.

@zadjii-msft zadjii-msft added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. Product-Conhost For issues in the Console codebase labels Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Product-Conhost For issues in the Console codebase Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants