Hacker News new | ask | show | jobs
by dartharva 2211 days ago
I observed the reverse on Windows. A Powershell profile file edited on vscode, when opened on micro, shows an invisible character (I thought it was space) after every character in it.
1 comments

That just sounds like a UTF-16 encoded file, which is common on Windows AFAIK. Every second character would be a NUL byte.

Perhaps micro doesn't autodetect encoding? Or you forced it to utf-8?