JavaScriptPrettier
JavaScriptPrettier copied to clipboard
Some special chars are garbled
Installed product versions
- Visual Studio: 2019 Professional
- This extension: 2.1.47
Description
Non-breaking spaces are garbled.
Steps to recreate
- open a js file. Enter a narrow no-break space for example from german wikipedia page or this text:
'▕ ▏' - run prettier from command line (
node_modules/.bin/prettier.cmd --write .) is fine - run prettier from visual studio contextmenu of this extension
Current behavior
The extension creates from the valid string '▕ ▏' the new string '???'.
=>

Expected behavior
should be preserved as it is with the command line
ref #2