Skip to content

Commit 76a8c3a

Browse files
committed
[Java] Check both upper and lower case versions of ascii for generating display.
1 parent cf7f30e commit 76a8c3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/java/JavaGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3269,7 +3269,7 @@ private void appendDecoderDisplay(
32693269
}
32703270
else
32713271
{
3272-
if (characterEncoding.contains("ASCII"))
3272+
if (characterEncoding.contains("ASCII") || characterEncoding.contains("ascii"))
32733273
{
32743274
append(sb, indent, "builder.append('\\'');");
32753275
append(sb, indent, formatGetterName(varDataToken.name()) + "(builder);");

0 commit comments

Comments
 (0)