X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/1782ef54064d06ed12eea07fee7e1f802db84645..1eb15b505ba1d7ea5a18363c4b7b137f2e9f6d01:/XMLNode.cpp diff --git a/XMLNode.cpp b/XMLNode.cpp index d4d2a45..036dde4 100644 --- a/XMLNode.cpp +++ b/XMLNode.cpp @@ -478,6 +478,7 @@ XMLNode::XMLNode(const String8& filename, const String16& s1, const String16& s2 , mFilename(filename) , mStartLineNumber(0) , mEndLineNumber(0) + , mUTF8(false) { if (isNamespace) { mNamespacePrefix = s1; @@ -837,7 +838,7 @@ status_t XMLNode::assignResourceIds(const sp& assets, status_t XMLNode::flatten(const sp& dest, bool stripComments, bool stripRawValues) const { - StringPool strings; + StringPool strings = StringPool(false, mUTF8); Vector resids; // First collect just the strings for attribute names that have a