all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Welsh Duggan <md5i@cs.cmu.edu>
To: emacs-devel@gnu.org, 124@emacsbugs.donarmstrong.com
Subject: Re: 23.0.60; Incorrect fontification for man in utf8 environment
Date: Tue, 06 May 2008 23:41:16 -0400	[thread overview]
Message-ID: <87y76mixwj.fsf@maru.md5i.com> (raw)

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

Some more research on this:

The resulting file from:

 TERM=dumb GROFF_NO_SGR=1 man man > /tmp/man.out

on my system is:


[-- Attachment #2: man.out --]
[-- Type: application/octet-stream, Size: 31403 bytes --]

[-- Attachment #3: Type: text/plain, Size: 544 bytes --]


Looking at this file using hexl-find-file, one can see that formatting
codes are inserted in the output.  See from byte 0xad for example.

The coding system is set in man.el by:

	    (coding-system-for-read
	     (if default-enable-multibyte-characters
		 locale-coding-system 'raw-text-unix))

So the coding sytem is utf-8-unix on my system.  The aforementioned
formatting codes seem as if they are being interpreted as utf8-encoded
characters, causing the output from earlier in this bug report.

-- 
Michael Welsh Duggan
(md5i@cs.cmu.edu)

             reply	other threads:[~2008-05-07  3:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07  3:41 Michael Welsh Duggan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-04-17 14:38 23.0.60; Incorrect fontification for man in utf8 environment Chong Yidong
2008-04-22  3:46 ` Michael Welsh Duggan
2011-07-16 21:21   ` bug#124: " Lars Magne Ingebrigtsen
2011-07-17 15:09     ` Michael Welsh Duggan
2008-04-08  1:05 Michael Welsh Duggan

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=87y76mixwj.fsf@maru.md5i.com \
    --to=md5i@cs.cmu.edu \
    --cc=124@emacsbugs.donarmstrong.com \
    --cc=emacs-devel@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.