| Index: sky/engine/wtf/text/WTFString.cpp
|
| diff --git a/sky/engine/wtf/text/WTFString.cpp b/sky/engine/wtf/text/WTFString.cpp
|
| index d72969f19a6a82d4f4f9e513510ec2b01ad2749f..e23f7286a6f66ff9dc3003e4fe0c16ef1dc5c902 100644
|
| --- a/sky/engine/wtf/text/WTFString.cpp
|
| +++ b/sky/engine/wtf/text/WTFString.cpp
|
| @@ -871,6 +871,11 @@ CString String::utf8(UTF8ConversionMode mode) const
|
| return CString(bufferVector.data(), buffer - bufferVector.data());
|
| }
|
|
|
| +std::string String::toUTF8() const
|
| +{
|
| + return utf8().toStdString();
|
| +}
|
| +
|
| String String::make8BitFrom16BitSource(const UChar* source, size_t length)
|
| {
|
| if (!length)
|
|
|