Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install-PoshVs should respect encoding #5

Open
wtjones opened this issue Mar 30, 2018 · 1 comment
Open

Install-PoshVs should respect encoding #5

wtjones opened this issue Mar 30, 2018 · 1 comment

Comments

@wtjones
Copy link

wtjones commented Mar 30, 2018

My profile is utf-8 but it converted it to UTF-16 LE. It actually made the file unreadable the first time I tried it, but I haven't been able to reproduce that.

An alternative would be to just say something like this during module import: "Hey, go add this to your profile - Import-Module posh-vs; Import-VisualStudioEnvironment"

@olegsych
Copy link
Owner

olegsych commented Apr 1, 2018

@wtjones, thanks for reporting this! Detection of file encoding looks messy but doable. I agree that this should be fixed.

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

No branches or pull requests

2 participants