M CHANGES.md +1 -0
@@ 10,6 10,7 @@ Glass 0.6 — ????-??-??
* The `'` character can now be written as `''` in character literals.
* The `"` character can now be written as `""` in string literals.
* Documented the `end` directive, supported since the initial release.
+ * The source file encoding is changed from ISO-8859-1 to UTF-8.
Glass 0.5 — 2017-01-18
----------------------
M src/main/java/nl/grauw/glass/SourceFile.java +1 -1
@@ 15,7 15,7 @@ public class SourceFile {
public SourceFile(Path path) {
this.path = path;
try {
- this.content = Files.readAllLines(path, Charset.forName("ISO-8859-1"));
+ this.content = Files.readAllLines(path, Charset.forName("UTF-8"));
} catch (IOException e) {
throw new AssemblyException(e);
}