:set encoding=utf8
:set fileencoding=utf8

The first controls the display, the second file saves.  Vim has to have been
compiled with multibyte support, though.


From: Aaron Sherman <[EMAIL PROTECTED]>
Date: Mon, 4 Apr 2005 17:01:58 -0400
To: Larry Wall <[EMAIL PROTECTED]>
Cc: Perl6 Language List <perl6-language@perl.org>
Subject: Re: :=: (OT)


The default mode for my vim was Latin-1. I was being lazy because I knew
how to tell gnome-terminal to do Latin-1, but I have no clue how to tell
vim to display and save UTF-8. I'm sure it's easy enough though.

On second thought... do I really want to have to figure out:

        $pie â= $face;

or is that: 

        $pieââ; 

â 


Reply via email to