Anonymous avatar Anonymous committed 4685792

Fixed build error by invalid encoding.

Comments (0)

Files changed (1)

 		</replaceregexp>
                 
         <!-- remove appropriate opening and closing of closures -->
-        <replaceregexp match=".*?\(function\(\$\) \{" replace="" flags="s">
+        <replaceregexp match=".*?\(function\(\$\) \{" replace="" flags="s" encoding="UTF8">
           <fileset dir="${BUILD_DIR}">
             <include name="jqplot.*.js" />
             <include name="jqplot.effects.*.js" />
           </fileset>
         </replaceregexp>
         
-        <replaceregexp match="\}\)\(jQuery\)\;(?!.*\}\)\(jQuery\)\;)" replace="">
+        <replaceregexp match="\}\)\(jQuery\)\;(?!.*\}\)\(jQuery\)\;)" replace="" encoding="UTF8">
           <fileset dir="${BUILD_DIR}">
             <include name="jqplot.*.js" />
             <include name="jqplot.effects.*.js" />
         </replaceregexp>
         
         <!-- now cat all files together to make one jqplot source file -->
-        <concat destfile="${BUILD_DIR}/${JQPLOT}">
+        <concat destfile="${BUILD_DIR}/${JQPLOT}" encoding="UTF8">
             <fileset dir="${BUILD_DIR}" includes="jqplot.core.js" />
             <fileset dir="${BUILD_DIR}">
               <include name="jqplot.*.js" />
           </fileset>
           <arg line="-jar" />
           <arg path="${YUICompressor}" />
-          <arg value="--charset" />
-          <arg value="ANSI" />
+          <arg value="--charset" /> 
+          <arg value="UTF8" />
           <arg value="-o" />
           <targetfile />
           <mapper type="glob" from="jquery.jqplot.js" to="temp/jquery.jqplot.min.js" />
           <arg line="-jar" />
           <arg path="${YUICompressor}" />
           <arg value="--charset" />
-          <arg value="ANSI" />
+          <arg value="UTF8" />
           <arg value="-o" />
           <targetfile />
           <mapper type="glob" from="excanvas.js" to="temp/excanvas.min.js" />
           <arg line="-jar" />
           <arg path="${YUICompressor}" />
           <arg value="--charset" />
-          <arg value="ANSI" />
+          <arg value="UFT8" />
           <arg value="-o" />
           <targetfile />
           <mapper type="glob" from="jquery.jqplot.css" to="jquery.jqplot.min.css" />
           <arg value="--type" />
           <arg value="css" />
           <arg value="--charset" />
-          <arg value="ANSI" />
+          <arg value="UTF8" />
           <arg value="-o" />
           <targetfile />
           <mapper type="glob" from="examples.css" to="examples.min.css" />
           <arg value="--type" />
           <arg value="js" />
           <arg value="--charset" />
-          <arg value="ANSI" />
+          <arg value="UTF8" />
           <arg value="-o" />
           <targetfile />
           <mapper type="glob" from="example.js" to="example.min.js" />
           <arg line="-jar" />
           <arg path="${YUICompressor}" />
           <arg value="--charset" />
-          <arg value="ANSI" />
+          <arg value="UTF8" />
           <arg value="-o" />
           <targetfile />
           <mapper type="glob" from="jqplot.*.js" to="temp/jqplot.*.min.js" />
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.