Re:Micro: Modern and intuitive terminal-based text editor
by dartharva on Thursday May 28, 2020 @01:02PM
(#23339657)
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.
[ Parent
| on HN ]
Re:Micro: Modern and intuitive terminal-based text editor
by aktau on Thursday May 28, 2020 @02:51PM
(#23340929)
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?