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

Windows Console doesn't support Unicode out of the box #13680

Closed
barrytang opened this issue Aug 5, 2022 · 4 comments
Closed

Windows Console doesn't support Unicode out of the box #13680

barrytang opened this issue Aug 5, 2022 · 4 comments
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@barrytang
Copy link

barrytang commented Aug 5, 2022

Description of the new feature/enhancement

This suggestion is originated from https://developercommunity.visualstudio.com.

Right now, Windows Console doesn't support Unicode by default for English OS. To make it work, the app needs to either set output encoding to UTF8 or configure Windows Console properties to UTF8. Even after doing so, some Unicode still won't get rendered correctly because Windows Console doesn't support font-fallback as explained here.

Proposed technical implementation details (optional)

It would be great to enable an out-of-the-box console experience that supports Unicode for customers.

@barrytang barrytang added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Aug 5, 2022
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 5, 2022
@237dmitry
Copy link

237dmitry commented Aug 5, 2022

I think this is rather OS wide settings

Screenshot 2022-08-05 075031

Screenshot 2022-08-05 110020

@zadjii-msft
Copy link
Member

Yea, I'm not sure that's something we'll be able to change in any short order. Using the console APIs in a client application to specifically request CP_UTF8 is the best way to do this.

There's a collection of issues here to follow:

I'm gonna collectively resolve this as a dupe of those conversations. Thanks!
/dup #1802 #8000 #190 #10478

@zadjii-msft zadjii-msft closed this as not planned Won't fix, can't repro, duplicate, stale Aug 5, 2022
@ghost
Copy link

ghost commented Aug 5, 2022

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed Aug 5, 2022
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 5, 2022
@asmichi
Copy link

asmichi commented Aug 15, 2022

Sorry for posting in a closed issue.

Using the console APIs in a client application to specifically request CP_UTF8 is the best way to do this.

I agree and that's the very reason Visual Studio should do so. Therefore the original suggestiion should be reopened -- Visual Studio should have the ability to emulate a chcped console for debug execution.
(It's not normal for the debugee to set the code page since (IMO) console programs should respect the current code page. We normally do chcp.com <codepage> and then run a program when we want the program to obey a specific code page.)

Well, when the world is like "There is only one true console code page -- UTF-8", the problem itself disappears. If that is our direction, yeah, #1802 is it.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. 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

4 participants