diff --git a/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java b/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java index d49ebf8f..e405bb86 100644 --- a/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java +++ b/apktool-lib/src/main/java/brut/androlib/res/AndrolibResources.java @@ -557,6 +557,11 @@ final public class AndrolibResources { case '<': out.append("<"); continue; + default: + if (! isPrintableChar(c)) { + out.append(String.format("\\u%04x", (int)c)); + continue; + } } out.append(c); }