Unicode character sets are misaligned in 1.22.10352.0 #22966

Closed
opened 2026-01-31 08:28:37 +00:00 by claunia · 2 comments
Owner

Originally created by @atkinsroy on GitHub (Feb 23, 2025).

Windows Terminal version

1.22.10352.0

Windows build number

10.0.19045.0

Other Software

No response

Steps to reproduce

Install-PSResource -Name ncal -version 3.1.5 -Repository PSGallery
Import-module ncal
ncal -culture my-MM
ncal -culture ne-IN
ncal -culture pa-Gura-IN
ncal -culture ta-MY

Expected Behavior

With an older version of Windows Terminal, (version 1.21.241017001), all of these Unicode character sets align correctly:

Image

Actual Behavior

But with 1.22.10352.0, there is misalignment of Unicode characters when using .PadRight() method on a string. This is similar behavior to previous versions which I thought had now been fixed in Windows Terminal:

Image

Originally created by @atkinsroy on GitHub (Feb 23, 2025). ### Windows Terminal version 1.22.10352.0 ### Windows build number 10.0.19045.0 ### Other Software _No response_ ### Steps to reproduce ``` Install-PSResource -Name ncal -version 3.1.5 -Repository PSGallery Import-module ncal ncal -culture my-MM ncal -culture ne-IN ncal -culture pa-Gura-IN ncal -culture ta-MY ``` ### Expected Behavior With an older version of Windows Terminal, (version 1.21.241017001), all of these Unicode character sets align correctly: ![Image](https://github.com/user-attachments/assets/94bd564c-98dc-42f6-b5d7-abf39c5d5d6a) ### Actual Behavior But with 1.22.10352.0, there is misalignment of Unicode characters when using .PadRight() method on a string. This is similar behavior to previous versions which I thought had now been fixed in Windows Terminal: ![Image](https://github.com/user-attachments/assets/5f3674e9-e760-4563-adf4-a3a78bbc1a92)
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 08:28:37 +00:00
Author
Owner

@lhecker commented on GitHub (Feb 24, 2025):

We added support for grapheme clusters, which PowerShell in general (and perhaps ncal in particular) does not support. This then results in an alignment mismatch. You can disable grapheme cluster support in Settings > Compatibility > Text measurement mode.

@lhecker commented on GitHub (Feb 24, 2025): We added support for [grapheme clusters](https://learn.microsoft.com/en-us/dotnet/core/compatibility/globalization/5.0/uax29-compliant-grapheme-enumeration#change-description), which PowerShell in general (and perhaps `ncal` in particular) does not support. This then results in an alignment mismatch. You can disable grapheme cluster support in Settings > Compatibility > Text measurement mode.
Author
Owner

@atkinsroy commented on GitHub (Feb 25, 2025):

ok, thanks for that.

@atkinsroy commented on GitHub (Feb 25, 2025): ok, thanks for that.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22966