in reply to Re^6: Print unicode strings to pdf
in thread Print unicode strings to pdf

Maybe a better approach would be to look at what data Perl is sending instead of using Javascript and your browser as an intermediary?

Also note that with JSON, you still have to parse it in Javascript as well, but I think JSON uses \U... and not \x... escapes, so you will need to think about how you generate your JSON and use a proper way.