Re:Part of Windows 11 is a revamped Windows Subsystem for Linux
by metaphor on Sunday October 10, 2021 @05:34AM
(#28817071)
If you think that's fun, just wait until you encounter the clowns who copy-paste random shit directly out of Word docs containing C1 control codes mascarading as "smart quotes" into your UTF-8 source.
Re:Part of Windows 11 is a revamped Windows Subsystem for Linux
by GordonS on Sunday October 10, 2021 @05:47AM
(#28817120)
I've done that before, but copying from web pages that have randomly used smart quotes (or whatever they are actually called) in command line samples.
Very annoying!
Re:Part of Windows 11 is a revamped Windows Subsystem for Linux
by ploxiln on Saturday October 09, 2021 @09:47PM
(#28815064)
The useless utf-8 BOM is 3 bytes ... were you also getting utf-16 encoded text?
Edit: 3 bytes, not 2 (thanks!)