SourceFile: Change the source file encoding from ISO-8859-1 to UTF-8.

This is a back compat change, however the impact should be low; I don’t expect
anyone to be using non-ASCII characters in strings, since no Z80 platform uses
the ISO-8859-1 character encoding anyway. And for comments the file encoding
does not really matter either way.
2 files changed, 2 insertions(+), 1 deletions(-)

M CHANGES.md
M src/main/java/nl/grauw/glass/SourceFile.java
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);
 		}