We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d459594 commit f73fcd3Copy full SHA for f73fcd3
src/util.cc
@@ -125,8 +125,8 @@ static void MakeUtf8String(Isolate* isolate,
125
size_t storage = static_cast<size_t>(value_length) * 3 + 1;
126
target->AllocateSufficientStorage(storage);
127
128
- size_t actual_length = simdutf::convert_utf16le_to_utf8(
129
- const_char16, value_length, target->out());
+ size_t actual_length =
+ simdutf::convert_utf16_to_utf8(const_char16, value_length, target->out());
130
if (actual_length == 0 && value_length > 0) {
131
actual_length =
132
string->WriteUtf8V2(isolate,
0 commit comments