Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Encoding preferences for ps1 file #137

Open
rismoney opened this issue Apr 2, 2018 · 5 comments
Open

Encoding preferences for ps1 file #137

rismoney opened this issue Apr 2, 2018 · 5 comments

Comments

@rismoney
Copy link

rismoney commented Apr 2, 2018

Can this instead be a preference? I'd prefer not to use BOM and as I see in the history this was flipped from no BOM to BOM as per chocolatey.org. But for internal usage I'd rather not pollute my files with this garbage.

#60

@majkinetor
Copy link
Owner

It can but not by me :)

@majkinetor majkinetor changed the title encoding preferences for ps1 file Encoding preferences for ps1 file Apr 4, 2018
@majkinetor
Copy link
Owner

BTW, UTF8 doesn't work correctly for scripts not with BOM generally.

@rismoney
Copy link
Author

so it looks like this should be a preference now?, as powershell 6+ is anti BOM. I guess I sorta won?

@majkinetor
Copy link
Owner

majkinetor commented Aug 16, 2021

Won against whom? I never said no, I said initially that I will accept PR :)

@rismoney
Copy link
Author

lol - in the BOM vs anti BOM battle obviously. Let me see if I can dig into this one and open a PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants