Commit a1abbf48 authored by Claus Nagel's avatar Claus Nagel
Browse files

use UTF-8 encoding for generated classes

parent 80cfe70c
...@@ -209,7 +209,7 @@ public class ADE_XJC { ...@@ -209,7 +209,7 @@ public class ADE_XJC {
JCodeModel code = model.generateCode(null, listener); JCodeModel code = model.generateCode(null, listener);
// write classes using a header comment // write classes using a header comment
PrologCodeWriter writer = new PrologCodeWriter(new FileCodeWriter(outputFolder), PrologCodeWriter writer = new PrologCodeWriter(new FileCodeWriter(outputFolder, "UTF-8"),
"Generated with ade-xjc - XML Schema binding compiler for CityGML ADEs, version " + this.getClass().getPackage().getImplementationVersion() + "\n" "Generated with ade-xjc - XML Schema binding compiler for CityGML ADEs, version " + this.getClass().getPackage().getImplementationVersion() + "\n"
+ "ade-xjc is part of the citygml4j project, see https://github.com/citygml4j\n" + "ade-xjc is part of the citygml4j project, see https://github.com/citygml4j\n"
+ "Any modifications to this file will be lost upon recompilation of the source\n" + "Any modifications to this file will be lost upon recompilation of the source\n"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment