| 139 | } |
| 140 | |
| 141 | bool UTF16ToUTF8(const char16* src, size_t src_len, std::string* output) { |
| 142 | PrepareForUTF8Output(src, src_len, output); |
| 143 | return ConvertUnicode(src, src_len, output); |
| 144 | } |
| 145 | |
| 146 | std::string UTF16ToUTF8(const string16& utf16) { |
| 147 | std::string ret; |