Reputation: 142
By default TS RC1 output JS files in UTF-8 but we need him to output JS in ANSI. Is there a compiler argument to do this ?
Upvotes: 0
Views: 292
Reputation:
Please note that VisualStudio has Pre-build events. I'm not sure that it will help but you can write some .bat file to transform UTF-8 chars into codes before compiling.
Upvotes: 0
Reputation: 16090
There is no such argument in the tsc compiler (version 0.9.5).
You would have to use other tools to convert UTF-8 to ANSI in generated JS files.
Upvotes: 2