gardebring / PowerColorLS

PowerShell script to display a colorized directory and file listing with icons
MIT License
61 stars 3 forks source link

Fix encoding issue. #15

Open amorphobia opened 2 years ago

amorphobia commented 2 years ago

My system's encoding is GB2312, not UTF-8. However, I downloaded the files as UTF-8 encoding. When importing the module, the symbol "√" causes unexpected token issue.

This can be solved by change the encoding of the file to GB2312, but I think use the symbol's code point would be a general solution.