[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UTF-8 keyboard mode
: Thomas Wolff wrote:
:
: > Mined (my editor...) performs automatic detection of UTF-8 vs Latin-1.
: > It's quite easy.
: > I derived the algorithm from a straightforward table of legal/illegal
: > byte sequence patterns.
: > It doesn't convert, though, but rather handles the file in its original
: > format. Even mixed-encoding files can be edited.
:
: How much of the file do you need to examine to detect the encoding?
As I read the entire file anyway without re-encoding it, I apply the
detection over the whole text.
Kind regards,
Thomas Wolff
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/