Skip to content

Build the git-detected check mark from its code point - #276

Closed
sunasrd-byte wants to merge 1 commit into
Codeplain-ai:mainfrom
sunasrd-byte:Fix-PowerShell-5.1-parse-failure-on-the-git-detected-line
Closed

Build the git-detected check mark from its code point#276
sunasrd-byte wants to merge 1 commit into
Codeplain-ai:mainfrom
sunasrd-byte:Fix-PowerShell-5.1-parse-failure-on-the-git-detected-line

Conversation

@sunasrd-byte

Copy link
Copy Markdown
Contributor

install.ps1 is UTF-8 without a BOM, so Windows PowerShell 5.1 decodes it
as CP1252, where the literal U+2713 on the "git detected" line becomes a
smart quote that terminates the enclosing string. The script then fails
to parse and installs nothing; only irm ... | iex was unaffected, since
that decodes as UTF-8 over HTTP.

  install.ps1 is UTF-8 without a BOM, so Windows PowerShell 5.1 decodes it
  as CP1252, where the literal U+2713 on the "git detected" line becomes a
  smart quote that terminates the enclosing string. The script then fails
  to parse and installs nothing; only `irm ... | iex` was unaffected, since
  that decodes as UTF-8 over HTTP.
@NejcS NejcS closed this Aug 18, 2026
@NejcS

NejcS commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Closing because an almost identical change was done in another PR.

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.

2 participants