all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "James P. Ascher" <jpsa@protonmail.com>
Cc: 42007@debbugs.gnu.org, viniciusjl@ig.com.br
Subject: bug#42007: ps-print encodes post-ASCII Unicode incorrectly for common characters
Date: Mon, 22 Jun 2020 21:05:29 +0300	[thread overview]
Message-ID: <83o8pbt1qu.fsf@gnu.org> (raw)
In-Reply-To: <m0h7v3jbdb.fsf@protonmail.com> (bug-gnu-emacs@gnu.org)

> Date: Mon, 22 Jun 2020 16:47:52 +0000
> From: "James P. Ascher" via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> 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 '?'.
> 
> MINIMAL EXAMPLE:
> 
> 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
> 
> which renders:
> 
> "What?s up??Dude."
> 
> It should render "What’s up?—Dude."

I don't think ps-print supports non-ASCII characters beyond Latin-1,
definitely not unless you customize ps-mule and ps-bdf with
appropriate font.

Sorry.





  reply	other threads:[~2020-06-22 18:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-22 16:47 bug#42007: ps-print encodes post-ASCII Unicode incorrectly for common characters James P. Ascher via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-06-22 18:05 ` Eli Zaretskii [this message]
2020-06-22 19:11   ` James P. Ascher via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-07 16:08   ` Peter Münster
2021-12-07 16:54     ` Eli Zaretskii
2021-12-07 18:40       ` Peter Münster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83o8pbt1qu.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=42007@debbugs.gnu.org \
    --cc=jpsa@protonmail.com \
    --cc=viniciusjl@ig.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.