all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: handa <handa@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 35355@debbugs.gnu.org, brandelune@gmail.com
Subject: bug#35355: 27.0.50; ps-print-buffer-with-faces does not print non-ascii
Date: Mon, 29 Apr 2019 13:02:53 +0900	[thread overview]
Message-ID: <877ebdbgr6.fsf@gnu.org> (raw)
In-Reply-To: <83bm0zaeui.fsf@gnu.org> (message from Eli Zaretskii on Sun, 21 Apr 2019 12:26:45 +0300)

[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]

In article <83bm0zaeui.fsf@gnu.org>, Eli Zaretskii <eliz@gnu.org> writes:

> > From: Jean-Christophe Helary <brandelune@gmail.com>
> > Date: Sun, 21 Apr 2019 18:02:38 +0900
> > 
> > I tried to print a simple C buffer with some Japanese characters in commentsand the default printout was in b/w, but all the Japanese characters were printed out nicely.
> > 
> > Then, I tried the ps-print-buffer-with-faces command and the syntax highlighting worked fine but all the Japanese characters were replaced by ???.
> > 
> > Then, after reading the documentation a bit, I tried to
> > (setq ps−multibyte−buffer ’non−latin−printer)
> > 
> > but now the Japanese characters are totally mojibaked:
> > // $*$_$/$8$NFbMF0lMw

I can't reproduce that problem.  The attached are the sample text file
and the PS file produced by C-u M-x ps-print-buffer with
ps-multibyte-buffer being set to non-latin-printer in my environment
(emacs vesion is 27.0.50).

Please send me the PS file generated from the attached temp.txt in your
environment.

---
K. Handa
handa@gnu.org


[-- Attachment #2: temp.txt --]
[-- Type: text/plain, Size: 36 bytes --]

English 英語
Japanese 日本語

[-- Attachment #3: temp.ps --]
[-- Type: application/postscript, Size: 34709 bytes --]

  reply	other threads:[~2019-04-29  4:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-21  9:02 bug#35355: 27.0.50; ps-print-buffer-with-faces does not print non-ascii Jean-Christophe Helary
2019-04-21  9:26 ` Eli Zaretskii
2019-04-29  4:02   ` handa [this message]
2019-04-29 13:22     ` Jean-Christophe Helary
2019-04-29 15:08       ` Eli Zaretskii
2019-04-29 15:50         ` Jean-Christophe Helary
2019-05-01  9:29       ` handa

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=877ebdbgr6.fsf@gnu.org \
    --to=handa@gnu.org \
    --cc=35355@debbugs.gnu.org \
    --cc=brandelune@gmail.com \
    --cc=eliz@gnu.org \
    /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.