bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: texinfo and UTF-8


From: Eli Zaretskii
Subject: Re: texinfo and UTF-8
Date: Sun, 11 May 2008 20:51:50 +0300

> From: "Sergey Poznyakoff" <address@hidden>
> Date: Sun, 11 May 2008 11:02:51 +0300
> Cc: <address@hidden>, <address@hidden>
> 
> Eli Zaretskii <address@hidden> ha escrit:
> 
> > Could we please discuss the design of this?  In particular, what do
> > you mean by ``LC_ALL is set appropriately'',
> 
> I mean that LC_ALL settings should match the @encoding used in the
> document.

But you already know the @encoding that was used to produce the
document, so why do you request that LC_ALL be set?  Just use whatever
@encoding specifies.

> > and how do you intend to
> > handle possible differences between the file's encoding and the
> > encoding supported by the terminal?
> 
> Generally speaking, libiconv can be used for that. But I doubt if info
> should try to handle such differences. That's the same thing as with
> text editors: you cannot edit a document written in UTF-8 on a terminal
> set to ISO-8859-2.

That depends on the editor.  For example, with Emacs, this can be done
even in the text-mode ("emacs -nw") session, assuming, of course, that
the document does not use any character outside the ISO-8859-2
repertoire (if it does, the foreign characters will be displayed as
`?').

> In my opinion, it is user's responsibility to ensure his terminal is
> set appropriately.

I don't mind requiring the user to set up her terminal, but
unfortunately, this is not all she needs to do.  The user will also
need to install a version of terminal (fonts, etc.) that fit whatever
@encoding was used in the document.  And that is not as easy as
setting LC_ALL.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]