Skip to content

Windows PowerShell 5.1 - Unicode Display Issues #44

@GordonBeeming

Description

@GordonBeeming

Summary

Windows PowerShell 5.1 has limited Unicode character support, causing emojis and special box-drawing characters to display as ? instead of the intended symbols. This affects the visual appearance of the dependency check output and other UI elements.

Environment

  • Windows PowerShell 5.1 (default on Windows 10/11)
  • Console/terminal with limited Unicode font support

Steps to Reproduce

  1. Run copilot_here or copilot_yolo in Windows PowerShell 5.1
  2. Observe the dependency check output
  3. Special characters display as ? instead of proper Unicode symbols

Example Output

?? Dependency Check:
????????????????????????????????????????????????????????????????
? GitHub CLI (gh)
   ?? Install: winget install --id GitHub.cli --source winget
? Docker
   ?? Install: https://docs.docker.com/desktop/install/windows-install/
????????????????????????????????????????????????????????????????
Image

Expected Output

Should display with proper box-drawing characters and icons (as seen in PowerShell Core 7+).

Impact

  • Severity: Low (cosmetic only)
  • Functionality: Not affected - all features work correctly
  • User Experience: Slightly degraded visual appearance

Workaround

Use PowerShell Core (PowerShell 7+) instead of Windows PowerShell 5.1:

# Install PowerShell Core
winget install --id Microsoft.PowerShell --source winget

# Or download from: https://aka.ms/powershell-release?tag=stable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions