bug#42007: ps-print encodes post-ASCII Unicode incorrectly for common characters
I'd like to use ps-print to print hard copies of emails from my
colleagues, but it fails for certain common Unicode characters beyond
the basic ASCII, rendering them as '?'.
1. New buffer with "What’s up?—Dude."
2. Call C-u M-x ps-print-buffer and save as test.ps
3. The line in question PostScript code reads:
(What?s up??Dude.) S
It should render "What’s up?—Dude."
This fails for emoji and most of the hello file as well, but that's not
really what I'm after. In trying to debug this, I made a little
progress. In ps-print.el, `ps-output-string-prim` seems to be designed
to handle these, however: