bug-texinfo
[Top][All Lists]
Advanced

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

Re: simplifying configuration of encoded characters/entities output


From: Patrice Dumas
Subject: Re: simplifying configuration of encoded characters/entities output
Date: Wed, 29 Dec 2021 14:47:51 +0100

On Wed, Dec 29, 2021 at 03:22:13PM +0200, Eli Zaretskii wrote:
> > Date: Wed, 29 Dec 2021 13:35:05 +0100
> > From: Patrice Dumas <pertusus@free.fr>
> > 
> > For Info and Plaintext, I propose to remove the check on documentencoding
> > being set or not, leaving two possibilities
> > * --enable-encoding (the default), try to output unicode points encoded
> >   characters for every output, be it accents like @'e, @-commands like
> >   @l{} or dashes and quotes.
> > * --disable-encoding use ascii everywhere
> 
> What about @documentencoding that is not UTF-8?

This plan is for any @documentencoding, when I write 'try to output' it
actually means to output encoded characters if they are available in the
output encoding (which needs not be the same as @documentencoding).  In
practice, if th eoutput encoding is 8 bits, it means dashes and quotes
remains as is and for accents and other commands there is a list (for
iso8859_1, iso8859_15, iso8859_2 and koi8) of how unicode points map to
the encodings to avoid outputting characters that will lead to an error
later when perl decodes to the 8 bit encoding.

-- 
Pat



reply via email to

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