mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-04 15:14:49 +00:00
escape ascii control characters
This commit is contained in:
@@ -169,6 +169,8 @@ public class Helper {
|
||||
ret.append("\\\"");
|
||||
} else if (c == '\'') {
|
||||
ret.append("\\'");
|
||||
} else if (c < 32) {
|
||||
ret.append("\\x").append(padZeros(Integer.toHexString(i), 2));
|
||||
} else {
|
||||
ret.append(c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user