Skip to content

fix: remove emoji from Windows installer, use ASCII-safe output#157

Merged
peg merged 1 commit intomainfrom
fix/ps1-encoding
Feb 28, 2026
Merged

fix: remove emoji from Windows installer, use ASCII-safe output#157
peg merged 1 commit intomainfrom
fix/ps1-encoding

Conversation

@peg
Copy link
Copy Markdown
Owner

@peg peg commented Feb 28, 2026

Fixes garbled characters in irm https://rampart.sh/install.ps1 | iex output on Windows PowerShell. UTF-8 emoji and Unicode symbols render as junk when PowerShell uses the system code page.\n\nReplaces 🛡️, , , , with ASCII equivalents. Also adds [Console]::OutputEncoding = UTF8 as a belt-and-suspenders fix for terminals that do support it.

PowerShell uses system code page by default causing UTF-8 characters
to render as garbled text (e.g. shield emoji as 'ð¡ï¸', checkmarks
as 'â').

- Add [Console]::OutputEncoding = UTF8 at script start
- Replace emoji header (🛡️) with plain text
- Replace Unicode check/warn/error markers (✓ ⚠ ✗) with [OK] [!] [X]
- Replace box-drawing ━ separator with plain dashes

Fixes garbled output reported in Windows PowerShell.
@peg peg merged commit ff3aa96 into main Feb 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant