[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vim
Subject:    Re: multibyte and 'encoding' and 'fileencoding'
From:       Bram Moolenaar <Bram () moolenaar ! net>
Date:       2002-12-31 21:16:59
[Download RAW message or body]


Benji Fisher wrote:

>       I finally decided that the display problem is caused by a font 
> problem.  I assume you will get to my note on this in due course.

Glad it's not a Vim problem.

>       I am surprised that a file is not supposed to contain a raw 
> "\xe4".  What is to stop me from doing
> 
> :put=\"xe4\"

You can, but the result is an invalid byte.  Vim uses invalid bytes to
recognize that a file is NOT utf-8, thus you get yourself into trouble.

-- 
hundred-and-one symptoms of being an internet addict:
263. You have more e-mail addresses than shorts.

 ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
///          Creator of Vim - Vi IMproved -- http://www.vim.org          \\\
\\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
 \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic