unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: lekktu@gmail.com, emacs-devel@gnu.org, jasonr@gnu.org,
	Kenichi Handa <handa@m17n.org>
Subject: Re: ^M in the info files
Date: Thu, 10 Jul 2008 23:47:49 +0300	[thread overview]
Message-ID: <87wsjtjwju.fsf@jurta.org> (raw)
In-Reply-To: <jwv4p6x1oap.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 10 Jul 2008 16:27:09 -0400")

> I'm not talking about what Emacs does but about what the Info format
> "specifies".  IIUC the Info format is always ASCII unless explicitly
> specified by a conding: tag.  Of course, you can have an Info file
> without a coding: tag that uses non-ASCII chars in some encoding, but
> IIUC this has never been considered as valid (from TeXinfo's point
> of view).

Yes, it seems the default coding for Info files is supposed to be
US-ASCII unless overridden by @documentencoding.

>>>> And, for instance, faq.texi has @today{} directive, and it
>>>> seems that makeinfo generates a date string according to the
>>>> current locale (and thus results in non-ASCII characters).
>>>
>>> Isn't that a bug in makeinfo?
>
>> IIUC, this is an intentional feature.  But we could run it with e.g.
>> `LANG=C makeinfo' in Makefiles.
>
> What happens if your TeXinfo file specifies a latin-1 encoding and your
> date is output in utf-8 because of your locale, then?

Then the result of @today is displayed as garbage.

But we can adjust Makefile to use the correct LANG for every Info manual
that specifies a non-default @documentencoding.

-- 
Juri Linkov
http://www.jurta.org/emacs/




  reply	other threads:[~2008-07-10 20:47 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-11  0:43 ^M in the info files Lennart Borgman (gmail)
2008-06-11  4:42 ` dhruva
2008-06-11 15:56   ` Juanma Barranquero
2008-07-09  1:51     ` Juanma Barranquero
2008-07-09  2:44       ` Kenichi Handa
2008-07-09  2:56         ` Juanma Barranquero
2008-07-09  4:33           ` Kenichi Handa
2008-07-09  9:15             ` Jason Rumney
2008-07-09 11:16               ` Kenichi Handa
2008-07-09 16:49                 ` Stefan Monnier
2008-07-09 17:58                   ` James Cloos
2008-07-09 20:19                     ` Juri Linkov
2008-07-14 11:44                       ` Kenichi Handa
2008-07-21 11:18                         ` Juanma Barranquero
2008-07-10 11:17                   ` Kenichi Handa
2008-07-10 16:02                     ` Stefan Monnier
2008-07-10 18:42                       ` Juri Linkov
2008-07-10 20:27                         ` Stefan Monnier
2008-07-10 20:47                           ` Juri Linkov [this message]
2008-07-10 22:11                             ` Stefan Monnier
2008-07-19 22:29                           ` Eli Zaretskii
2008-07-21  4:57                             ` Stefan Monnier
2008-07-21 15:08                               ` Eli Zaretskii
2008-07-21 18:20                                 ` Stefan Monnier
2008-07-09 10:02             ` Juanma Barranquero
2008-07-09 14:54               ` "no-conversion" coding system (was: ^M in the info files) Stefan Monnier
2008-07-09 23:31                 ` Kenichi Handa
2008-07-09 23:57                 ` Richard M Stallman
2008-07-10  0:31                   ` Kenichi Handa
2008-07-10  1:12                     ` "no-conversion" coding system Stefan Monnier
2008-07-14 23:19                       ` Eli Zaretskii
2008-07-15  1:39                         ` Stefan Monnier
2008-07-20 14:04                           ` Eli Zaretskii
2008-07-15  6:34                         ` Stephen J. Turnbull
2008-07-20 14:11                           ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2008-08-06 11:09 A few bugs not in the bug tracker (I think) Juanma Barranquero
2008-08-06 12:31 ` Kenichi Handa
2008-08-06 13:14   ` Juanma Barranquero
2008-08-07  0:48     ` ^M in the info files Kenichi Handa
2008-08-07  3:20       ` Eli Zaretskii
2008-08-07  3:22       ` Juanma Barranquero
2008-08-07  3:47         ` Kenichi Handa
2008-08-07 13:01           ` Juanma Barranquero
2008-08-08  1:28             ` Kenichi Handa
2008-08-08 11:02               ` Juanma Barranquero
2008-08-13 10:08                 ` Kenichi Handa
2008-08-15 23:09                   ` Juanma Barranquero
2008-08-07 20:18       ` Stefan Monnier
2008-11-28 21:28         ` Drew Adams
2008-11-28 22:39           ` Eli Zaretskii
2008-11-28 22:44             ` Juanma Barranquero
2008-11-29 10:50               ` Eli Zaretskii
2008-11-29 11:56                 ` Juanma Barranquero
2008-11-28 22:49             ` Drew Adams
2008-11-29 10:51               ` Eli Zaretskii
2009-01-10 11:15             ` Eli Zaretskii
2009-01-10 12:14               ` Eli Zaretskii
2009-01-12 20:56                 ` Stefan Monnier
2009-01-12 22:04                   ` Eli Zaretskii
2009-01-10 14:07               ` Juanma Barranquero
2009-01-10 15:13                 ` Eli Zaretskii
2009-01-10 18:23                   ` Juanma Barranquero
2009-01-10 19:08                     ` Eli Zaretskii
2009-01-10 19:12                     ` Eli Zaretskii
2009-01-10 19:19                     ` Eli Zaretskii
2009-01-10 21:04                       ` Juanma Barranquero
2009-01-10 16:21               ` Drew Adams
2009-01-10 23:16                 ` Lennart Borgman
2009-01-11  5:41                   ` dhruva
2009-01-11  5:51                   ` dhruva
2009-01-12 20:54               ` Stefan Monnier
2009-01-12 22:13                 ` Eli Zaretskii
2009-01-12 22:27                   ` Glenn Morris
2009-01-13  4:01                     ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87wsjtjwju.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    --cc=jasonr@gnu.org \
    --cc=lekktu@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).