consistently treat input scripts as utf-8

This commit is contained in:
gnembon committed 2020-10-27 02:34:09 -03:00
1 parent c9b56c44f6
commit ea52048f3d
1 file changed
+1 -1
@@ -32,7 +32,7 @@ public class FileModule extends Module
try
{
name = sourceFile.getName().replaceFirst("\\.scl?","").toLowerCase(Locale.ROOT);
code = new String(Files.readAllBytes(sourceFile.toPath()));
code = new String(Files.readAllBytes(sourceFile.toPath()), StandardCharsets.UTF_8);
}
catch ( IOException e)
{