If I use typescript and declare a string there, and set that string to some Russian text. Then typescript compiler compiles to JavaScript with no regard to encoding I use in solution. So I get that "questions in rombic symbols" instead of normal letters.
So, do you know how to fix it?
TypeScript as default creates an ANSI encoded file when added using visual studio. (or visual studio creates ansi files as standard)
To fix open the file in notepad and use "save as" and change the encoding to UTF8 or UNICODE.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With