Skip to content

Commit

Permalink
UTF-8 everywhere. Closes #251
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Mar 17, 2012
1 parent 012bf72 commit cc3dec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cucumber/runtime/groovy/GroovyBackend.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void buildWorld() {

private Script parse(Resource resource) {
try {
return shell.parse(new InputStreamReader(resource.getInputStream()), resource.getPath());
return shell.parse(new InputStreamReader(resource.getInputStream(), "UTF-8"), resource.getPath());
} catch (IOException e) {
throw new CucumberException(e);
}
Expand Down

0 comments on commit cc3dec9

Please sign in to comment.