AArnott / Library.Template

A template for a NuGet package with tests, stylecop, fxcop, versioning, and Azure Pipelines build ready to go.
MIT License
128 stars 26 forks source link

Ensure Expand-Template uses UTF-8 when replacing placeholders. #274

Closed richardstanton closed 2 months ago

richardstanton commented 2 months ago

Windows PowerShell 5.1 uses Default encoding for Get-Content instead of UTF-8 which incorrectly reads the encoding of some yaml files and breaks their emojis (like 📢) when running expand-template.ps1.

AArnott commented 2 months ago

@richardstanton Commits must be signed to be merged. Would you like me to just squash instead or do you want to force push with a signed commit?

richardstanton commented 2 months ago

@richardstanton Commits must be signed to be merged. Would you like me to just squash instead or do you want to force push with a signed commit?

I figured out how to sign the commit. :)