Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Setting source code encoding to UTF-8.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddekany committed Aug 9, 2011
1 parent 41667b8 commit 451b280
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions build.xml
Expand Up @@ -169,7 +169,7 @@
<!-- Note: the "build" conf includes the JSP 2.0 and Servlet 2.4 API-s -->
<ivy:cachepath conf="build" pathid="ivy.dep" />
<javac destdir="build/classes" deprecation="off"
debug="on" optimize="off" target="1.5" source="1.5"
debug="on" optimize="off" target="1.5" source="1.5" encoding="utf-8"
includeantruntime="false"
classpathref="ivy.dep"
bootclasspath="${boot.classpath}"
Expand All @@ -186,7 +186,7 @@

<ivy:cachepath conf="build.jsp2.1" pathid="ivy.dep.jsp2.1" />
<javac srcdir="src/main/java" destdir="build/classes" deprecation="off"
debug="on" optimize="off" target="1.5" source="1.5"
debug="on" optimize="off" target="1.5" source="1.5" encoding="utf-8"
includeantruntime="false"
classpathref="ivy.dep.jsp2.1"
bootclasspath="${boot.classpath}"
Expand Down Expand Up @@ -234,7 +234,7 @@

<ivy:cachepath conf="build.test" pathid="ivy.dep.test" />
<javac srcdir="src/test/java" destdir="build/test-classes" deprecation="off"
debug="on" optimize="off" target="1.5" source="1.5"
debug="on" optimize="off" target="1.5" source="1.5" encoding="utf-8"
includeantruntime="false"
classpath="build/classes"
classpathref="ivy.dep.test"
Expand Down Expand Up @@ -406,6 +406,7 @@
srcdir="src/examples/@{exampleName}/WEB-INF/classes"
destdir="build/examples/@{exampleName}/WEB-INF/classes"
deprecation="off" debug="on" optimize="off" target="1.5" source="1.5"
encoding="utf-8"
includeantruntime="false"
classpathref="ivy.dep"
bootclasspath="${boot.classpath}"
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/freemarker/template/LocalizedString.java
Expand Up @@ -13,7 +13,7 @@
* if "fr".equals(lang)
* return "oui";
* else if "de".equals(lang)
* return "sí";
* return "sí";
* else
* return "yes";
* }
Expand Down

0 comments on commit 451b280

Please sign in to comment.