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 Terminal on Windows ARM device doesn't output unicode combining character sequences #18364

Closed
tomlm opened this issue Dec 25, 2024 · 2 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@tomlm
Copy link

tomlm commented Dec 25, 2024

Windows Terminal version

1.21.3231.0

Windows build number

10.0.22631.4460

Other Software

No response

Steps to reproduce

Console.OutputEncoding = System.Text.Encoding.UTF8;
Console.WriteLine("πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦");

Expected Behavior

Used to output
πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦

Actual Behavior

outputs
Image

The issue is that the caret is advanced the codepoint width (11) instead of the glyph width (2)

@tomlm tomlm added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Dec 25, 2024
@j4james
Copy link
Collaborator

j4james commented Dec 26, 2024

@tomlm Support for grapheme clusters was only added in Windows Terminal Preview v1.22.2362.0, so I wouldn't expect it to be working in the version you're using. If it worked for you before, I suspect you must have had a preview version of the terminal installed at some point.

@tomlm
Copy link
Author

tomlm commented Dec 26, 2024

Ah that is probably what I've done, thanks

@tomlm tomlm closed this as completed Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

2 participants