Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adding missing encoding flag.
  • Loading branch information
jnthn committed Apr 15, 2013
1 parent 21ed389 commit 07377b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/org/perl6/nqp/jast2bc/JASTToJVMBytecode.java
Expand Up @@ -29,7 +29,8 @@ public static void main(String[] argv)

try
{
BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(argv[0])));
BufferedReader in = new BufferedReader(new InputStreamReader(
new FileInputStream(argv[0]), "UTF-8"));
JavaClass c = buildClassFrom(in);
in.close();
FileOutputStream fos = new FileOutputStream(argv[1]);
Expand Down

0 comments on commit 07377b2

Please sign in to comment.