Skip to content

Commit 2154aa9

Browse files
committed
use convert_utf16_to_utf8
1 parent d459594 commit 2154aa9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/util.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ static void MakeUtf8String(Isolate* isolate,
125125
size_t storage = static_cast<size_t>(value_length) * 3 + 1;
126126
target->AllocateSufficientStorage(storage);
127127

128-
size_t actual_length = simdutf::convert_utf16le_to_utf8(
128+
size_t actual_length = simdutf::convert_utf16_to_utf8(
129129
const_char16, value_length, target->out());
130130
if (actual_length == 0 && value_length > 0) {
131131
actual_length =

0 commit comments

Comments
 (0)