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?

Reply via email to