Browse code

added encoding attribute to make sure UTF-8 encoding is used for the resulting concatenated files since some (why only some is miraculous) of the concatenated files otherwise are encoded with ANSI which leads to character corruption for characters not found in ANSI

Raymund Zacharias authored on29/05/2016 15:44:56
Showing1 changed files
... ...
@@ -1,6 +1,7 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
1 2
 <project name="fs-workbench" default="build">
2 3
 	<target name="build" depends="build-base,build-model,build-test">
3
-		<concat destfile="build/workbench.js">
4
+		<concat destfile="build/workbench.js"  encoding="UTF-8">
4 5
 			<filelist dir=".">
5 6
 				<file name="build/base.js">
6 7
 				</file>
... ...
@@ -14,7 +15,7 @@
14 15
 	<target name="build-base">
15 16
 		<mkdir dir="build">
16 17
 		</mkdir>
17
-		<concat destfile="build/base.js">
18
+		<concat destfile="build/base.js"  encoding="UTF-8">
18 19
 			<filelist dir=".">
19 20
 				<file name="source/base.js">
20 21
 				</file>
... ...
@@ -24,7 +25,7 @@
24 25
 	<target name="build-model">
25 26
 		<mkdir dir="build">
26 27
 		</mkdir>
27
-		<concat destfile="build/model.js">
28
+		<concat destfile="build/model.js"  encoding="UTF-8">
28 29
 			<filelist dir=".">
29 30
 				<file name="source/model/word.js">
30 31
 				</file>
... ...
@@ -34,7 +35,7 @@
34 35
 	<target name="build-test">
35 36
 		<mkdir dir="build">
36 37
 		</mkdir>
37
-		<concat destfile="build/test.js">
38
+		<concat destfile="build/test.js" encoding="UTF-8">
38 39
 			<filelist dir=".">
39 40
 				<file name="source/test.js">
40 41
 				</file>