|
According to his post, the first file generated is reliably considered
UTF-8 by Notepad, while the rest are reliably considered ANSI. If
there is no detectable difference, then why wouldn't it always be one
or the other, or at least random?
A more helpful diagnosis of the symptoms described might be: Assuming
Notepad chooses the "simpler" encoding where possible (a guess on my
part; I have not confirmed this), and assuming that all the characters
show up *as intended* in Notepad, then check the data to see if the
first file always has characters specific to UTF-8, whereas the
remaining files only have characters that are common to ANSI and
UTF-8, thus allowing Notepad to treat those files as ANSI.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.