bug-texinfo
[Top][All Lists]
Advanced

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

Re: Displaying characters in user's locale


From: Eli Zaretskii
Subject: Re: Displaying characters in user's locale
Date: Sat, 01 Feb 2014 19:32:38 +0200

> Date: Sat, 01 Feb 2014 19:31:14 +0200
> From: Eli Zaretskii <address@hidden>
> Cc: address@hidden, address@hidden
> 
> > Date: Sat, 1 Feb 2014 17:07:16 +0000
> > From: Gavin Smith <address@hidden>
> > Cc: Karl Berry <address@hidden>, address@hidden
> > 
> > On Sat, Feb 1, 2014 at 5:00 PM, Eli Zaretskii <address@hidden> wrote:
> > >> What if a file is not in UTF-8 and doesn't specify its encoding? Is it
> > >> likely, for example, that there are many files in ISO-8859-1 which
> > >> don't specify their encoding?
> > >
> > > That could happen, yes.  But I don't see any bad outcome for that with
> > > the rest of your code in place.  Do you?
> > >
> > > The way I see it, iconv will report an error, and you punt and let the
> > > original characters hit the glass, right?
> > What if a sequence of bytes intended to encode ISO-8859-1 characters
> > happens to correctly represent UTF-8 characters?
> 
> This cannot happen, by virtue of the UTF-8 definition and the fact
> that ISO-8859-1 is a single-byte encoding.

Except for ASCII characters, that is.



reply via email to

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