Yes yes, I am painfully aware of the BOM and the encoding steps. Notepad++ has a simple menu click for this. Despite all combinations, Fossil considers the file binary.
On Thu, Nov 5, 2015 at 6:33 PM, Warren Young <w...@etr-usa.com> wrote: > On Nov 5, 2015, at 3:54 PM, sky5w...@gmail.com wrote: > > > > And "decent" is a relative term. > > No, it’s a value judgment. I judge that a text editor that can’t handle > UTF-8 is indecent. :) > > > ;// Temp Tol ±°C ;<-- Ansi display :) > > ;// Temp Tol [xB1][xB0]C ;<-- UTF-8+BOM display :( > > That isn’t a conversion from ANSI to UTF-8, it’s just sticking a BOM on > the front of an ANSI file. The proper encoding of plus-minus + degrees > would be [C2][B1][C2][B0]. Four bytes, not two. > > If you can’t work out how to get your text editor to do this conversion, > the iconv tool you can install with Cygwin will do it, via the following > command: > > $ iconv -f MS-ANSI -t UTF-8 < original-file > new-file > > The new file should be considerably larger than the old, since every > single-byte ANSI code point over 127 will be encoded by 2-4 bytes in UTF-8. > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users