Re: [Vim] UTF-8
- From: "Dan" <dan@xxxxxxxxxx>
- Date: Sun, 12 Feb 2006 09:58:33 +0000 (UTC)
I'm using Vim6.4 for Windows. I want to be able to read and write
Unicode files (UTF-8). However, if I'm creating a new file, then I
want it to default to standard ascii.
Do you really mean UTF-8, or do you mean UTF-16? The fact that you
mentioned Windows and Notepad makes me wonder, because the two-byte
Unicode files that Windows handles are actually UTF-16.
Either. It's not really the type of unicode that my question is about.
I want it to be able to read/write whatever type of format that the
file happens to already be in, whether this is ascii, utf-8, utf-16,
etc.(basically autodetecting like notepad does). Then when I save that
particular file, for vim to honour the original file format and not
change it. However, if I create a new file in vim, then I want this to
default to ascii.
Is this possible to set up?
Thank again,
Dan.
.
- Follow-Ups:
- Re: [Vim] UTF-8
- From: Tim Roberts
- Re: [Vim] UTF-8
- From: Steve Hall
- Re: [Vim] UTF-8
- References:
- Re: [Vim] UTF-8
- From: Tim Roberts
- Re: [Vim] UTF-8
- Prev by Date: Re: How to make a smart VIM configuration file?
- Next by Date: [VIM] English menus in Russian OS?
- Previous by thread: Re: [Vim] UTF-8
- Next by thread: Re: [Vim] UTF-8
- Index(es):
Relevant Pages
|