summaryrefslogtreecommitdiff
path: root/tools/lpgen/lpgen.js
diff options
context:
space:
mode:
authorBasil <basil@miranda-ng.org>2013-02-04 09:41:38 +0000
committerBasil <basil@miranda-ng.org>2013-02-04 09:41:38 +0000
commit86d403dd401f03c6e96c8fef9d9b9561bcc0d4c3 (patch)
treec25d20e45fac5a5a983cf0a33346607f95cca9aa /tools/lpgen/lpgen.js
parent9fcd21a928fc3bf735b06b1bd72be37879102a5e (diff)
Output templates for translations in UTF-8 with BOM.
git-svn-id: http://svn.miranda-ng.org/main/trunk@3415 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/lpgen/lpgen.js')
-rw-r--r--tools/lpgen/lpgen.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lpgen/lpgen.js b/tools/lpgen/lpgen.js
index a26c8a9c7c..9d8d049162 100644
--- a/tools/lpgen/lpgen.js
+++ b/tools/lpgen/lpgen.js
@@ -241,7 +241,7 @@ function GeneratePluginTranslate (pluginpath,langpackfilepath,vcxprojfile) {
//logging results
if (log) WScript.Echo("Writing "+plugintemplate.length+" strings for "+plugin);
//finally, write "nodupes" array to file
- WriteToFile(plugintemplate,langpack);
+ WriteToUnicodeFile(plugintemplate,langpack);
};
//Recourse find all files in "path" with file RegExp mask "name" and return file list into filelistarray