| Index: Source/wtf/text/TextEncoding.h
|
| diff --git a/Source/wtf/text/TextEncoding.h b/Source/wtf/text/TextEncoding.h
|
| index ed77021a59529f148472a28ffdba977852efd6e1..a3a7d88b0f7d88519bab91dd07f977acc00d1159 100644
|
| --- a/Source/wtf/text/TextEncoding.h
|
| +++ b/Source/wtf/text/TextEncoding.h
|
| @@ -73,8 +73,13 @@ public:
|
| return decode(str, length, false, ignored);
|
| }
|
| String decode(const char*, size_t length, bool stopOnError, bool& sawError) const;
|
| +
|
| + // Encodes the string, but does *not* normalize first.
|
| CString encode(const String&, UnencodableHandling) const;
|
|
|
| + // Applies Unicode NFC normalization, then encodes the normalized string.
|
| + CString normalizeAndEncode(const String&, UnencodableHandling) const;
|
| +
|
| UChar backslashAsCurrencySymbol() const;
|
|
|
| private:
|
|
|