On Tue, Aug 20, 2002 at 02:26:36PM +0200, Bram Moolenaar wrote:
> 
> > editor on my planet.]
> 
> The Vim defaults are such that most people can do their work without
> additional settings.  Since most people live on a planet where UTF-8 is
> still the new kid on the block, when Vim detects a malformed UTF-8
> sequence it assumes the file is not UTF-8.  It's probably latin1 or some

but it does this even in UTF-8 locale...
most people for whom UTF-8 is alien do not have UTF-8 locale.
It is reasonable to assume that if a user has UTF-8 locale,
and vim encouters malformed UTF-8 sequence, the file is in fact
broken UTF-8 file, and not in ISO-8859-1 encoding.
(especially since most people who are living on ISO-8859-1 planet
do not feel any need whatsoever to use anything resembling UTF-8,
so they would not be using UTF-8 locale)


-- 
 -----------------------------------------------------------
| Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__    garabik @ melkor.dnp.fmph.uniba.sk     |
 -----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
--
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/linux-utf8/

Reply via email to