posh-vs
posh-vs copied to clipboard
Install-PoshVs should respect encoding
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
"
@wtjones, thanks for reporting this! Detection of file encoding looks messy but doable. I agree that this should be fixed.