diff options
Diffstat (limited to 'tools/aapt2/util/Util.h')
-rw-r--r-- | tools/aapt2/util/Util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/aapt2/util/Util.h b/tools/aapt2/util/Util.h index 0eb35d18c06e..c6e8e6ef7619 100644 --- a/tools/aapt2/util/Util.h +++ b/tools/aapt2/util/Util.h @@ -197,6 +197,10 @@ inline StringBuilder::operator bool() const { return error_.empty(); } +// Converts a UTF8 string into Modified UTF8 +std::string Utf8ToModifiedUtf8(const std::string& utf8); +std::string ModifiedUtf8ToUtf8(const std::string& modified_utf8); + // Converts a UTF8 string to a UTF16 string. std::u16string Utf8ToUtf16(const android::StringPiece& utf8); std::string Utf16ToUtf8(const android::StringPiece16& utf16); |