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 ?
-
Why would you need to do that? If you don't have localized strings in the source files, it would be ANSI characters.WiredPrairie– WiredPrairie2014-03-12 10:44:54 +00:00Commented Mar 12, 2014 at 10:44
-
Well, this application use only one langage (french with accents) for now. Indeed we could localize the resources in a linked js but it would have been nice to have all the code outputed in a single .js file to avoid http request for each script. But if we have no choice that's what we will end up doing.Ced– Ced2014-03-12 14:23:32 +00:00Commented Mar 12, 2014 at 14:23
-
1But, why is UTF-8 output a problem? That should be the right file format I'd suspect, even with accented French.WiredPrairie– WiredPrairie2014-03-12 15:22:56 +00:00Commented Mar 12, 2014 at 15:22
-
UTF-8 shouldn't be a problem. I'm saving our french translations in a UTF-8 file and it's been working fine.David Sherret– David Sherret2014-03-12 17:52:41 +00:00Commented Mar 12, 2014 at 17:52
-
If I had started this project, I would have chose UTF-8.Ced– Ced2014-03-14 15:18:21 +00:00Commented Mar 14, 2014 at 15:18
|
Show 1 more comment