On Sat, Feb 1, 2014 at 5:00 PM, Eli Zaretskii <[email protected]> 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?
- Re: Displaying characters in user's locale Gavin Smith
- Re: Displaying characters in user's locale Eli Zaretskii
- Re: Displaying characters in user's locale Gavin Smith
- Re: Displaying characters in user's locale Eli Zaretskii
- Re: Displaying characters in user's loca... Gavin Smith
- Re: Displaying characters in user's... Eli Zaretskii
- Re: Displaying characters in us... Gavin Smith
- Re: Displaying characters i... Eli Zaretskii
- Re: Displaying characters i... Eli Zaretskii
- Re: Displaying characters i... Per Bothner
- Re: Displaying characters in user's locale Reinhard Kotucha
- Re: Displaying characters in user's loca... Eli Zaretskii
- Re: Displaying characters in user's loca... Karl Berry
- Re: Displaying characters in user's locale Gavin Smith
- Re: Displaying characters in user's locale Gavin Smith
- Re: Displaying characters in user's locale Karl Berry
- Re: Displaying characters in user's loca... Andreas Schwab
