-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Open
Labels
Needs-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.WG-Interactive-Consolethe console experiencethe console experienceWG-NeedsReviewNeeds a review by the labeled Working GroupNeeds a review by the labeled Working Group
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
- Refer to the FAQ.
- Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
I noticed if using emojis inside Format-Table some of the output is misaligned. Seems each emoji makes Format-Table add a space extra to the start of the next value to the right?.
[PSCustomObject[]](
[PSCustomObject]@{
'Emoji' = [string] '✅'
'Means' = [string] 'Yes'
'While' = [string] '🛶'
'Means2' = [string] 'Canoe'
},
[PSCustomObject]@{
'Emoji' = [string] '⛔'
'Means' = [string] 'No'
'While' = [string] '🌵'
'Means2' = [string] 'Cactus'
}
) | Format-Table -AutoSizeExpected behavior
Emoji Means While Means2
----- ----- ----- ------
✅ Yes 🛶 Canoe
⛔ No 🌵 CactusActual behavior
Emoji Means While Means2
----- ----- ----- ------
✅ Yes 🛶 Canoe
⛔ No 🌵 CactusError details
Environment data
7.5.1 x64 WindowsVisuals
No response
mklement0
Metadata
Metadata
Assignees
Labels
Needs-TriageThe issue is new and needs to be triaged by a work group.The issue is new and needs to be triaged by a work group.WG-Interactive-Consolethe console experiencethe console experienceWG-NeedsReviewNeeds a review by the labeled Working GroupNeeds a review by the labeled Working Group
