Skip to content

Commit 35c1873

Browse files
author
Istvan Miklos
committed
Fix incorrect output from JSON.stringify
This patch fixes the #2383 issue JerryScript-DCO-1.0-Signed-off-by: Istvan Miklos imiklos2@inf.u-szeged.hu
1 parent a74bf7d commit 35c1873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jerry-ext/handler/handler-print.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jerryx_handler_print (const jerry_value_t func_obj_val, /**< function object */
6565
jerry_length_t substr_pos = 0;
6666
jerry_char_t substr_buf[256];
6767

68-
while ((substr_size = jerry_substring_to_char_buffer (str_val,
68+
while ((substr_size = jerry_substring_to_utf8_char_buffer (str_val,
6969
substr_pos,
7070
substr_pos + 256,
7171
substr_buf,

0 commit comments

Comments
 (0)