Index: src/objects-printer.cc |
diff --git a/src/objects-printer.cc b/src/objects-printer.cc |
index dace8d10744d5310f3a01a147563dea467695e9f..e6b2e6b24b78034f7211759c6a59f50819e4d477 100644 |
--- a/src/objects-printer.cc |
+++ b/src/objects-printer.cc |
@@ -591,7 +591,7 @@ void String::StringPrint(OStream& os) { // NOLINT |
} |
} |
for (int i = 0; i < len; i++) { |
- os.put(Get(i)); |
+ os << AsUC16(Get(i)); |
} |
if (len != length()) { |
os << truncated_epilogue; |