Hi, On Sat, 12 Jul 2025 at 23:27:49 +0800, xiao sheng wen wrote: > gpg-key2ps -1 -p a4 [email protected] | gs -sDEVICE=pdfwrite > -sOutputFile=out.pdf > > My Chinese name in uid display question mark. > > I tested use only "gpg-key2 [email protected]", I also find it's question > mark > in it's output. > > Is gpg-key2ps support UTF-8 well?
AFAIK not and that tool is no longer maintained, I should probably add a deprecation warning in the manual page. I'd suggest to use gpg-key2latex(1) instead (also from signing-party) and use XeLaTeX to convert LaTeX output to PDF. I'm not familiar enough with Postscript and wrote gpg-key2latex(1) to workaround that particular issue with gpg-key2ps(1), plus other issues such as as feature requests for photo IDs and QR codes. gpg-key2latex(1) is still supported :-) -- Guilhem.
signature.asc
Description: PGP signature

