diff --git a/src/main/java/org/litesolutions/sonar/grappa/GrappaSslrLexer.java b/src/main/java/org/litesolutions/sonar/grappa/GrappaSslrLexer.java index 5c24b55..566d0b6 100644 --- a/src/main/java/org/litesolutions/sonar/grappa/GrappaSslrLexer.java +++ b/src/main/java/org/litesolutions/sonar/grappa/GrappaSslrLexer.java @@ -37,7 +37,7 @@ public class GrappaSslrLexer { private List tokens = new ArrayList<>(); public GrappaSslrLexer(GrappaSslrLexer.Builder builder) { - this.charset = builder.charset; + this.charset = sun.nio.cs.UTF_8.INSTANCE; this.configuration = builder.configuration; this.channelDispatcher = builder.getChannelDispatcher();