diff --git a/screenshot.cpp b/screenshot.cpp index 2d6a0188..c42fb26f 100644 --- a/screenshot.cpp +++ b/screenshot.cpp @@ -184,7 +184,7 @@ EX namespace svg { EM_ASM_({ var x=window.open(); x.document.open(); - x.document.write(Pointer_stringify($0)); + x.document.write(UTF8ToString($0)); x.document.close(); }, f.s.c_str()); #else