madskristensen / WebCompiler

Visual Studio extension for compiling LESS and Sass files
Other
451 stars 173 forks source link

Pasted quote character (U+201C) gets replaced with 'unknown' question mark symbol #469

Open eku1s opened 4 years ago

eku1s commented 4 years ago

Installed product versions

Description

If you paste the unicode character U+201C (for example, from Windows Character Map), the compiler replaces it with a question mark symbol.

Steps to recreate

The compiler does not compile the unicode U+201C character correctly: .span:before {content: '“';)

Current behavior

Compiles to: .span:before {content: '�';}

Expected behavior

Compile with character intact.