Skip to content

Some special chars are garbled #39

Open

Description

@HolgerJeromin

Installed product versions

  • Visual Studio: 2019 Professional
  • This extension: 2.1.47

Description

Non-breaking spaces are garbled.

Steps to recreate

  1. open a js file. Enter a narrow no-break space for example from german wikipedia page or this text: '▕ ▏'
  2. run prettier from command line (node_modules/.bin/prettier.cmd --write .) is fine
  3. run prettier from visual studio contextmenu of this extension

Current behavior

The extension creates from the valid string '▕ ▏' the new string '???'.

image
=>
image

Expected behavior

should be preserved as it is with the command line

ref #2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions