mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 05:47:46 +01:00
Escape unicode chars in XML files.
This commit is contained in:
parent
501a92d733
commit
102597ef4c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user