Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion OT: The so called "steep learning curve" of vim...
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
John Beckett  
View profile  
 More options Oct 2 2012, 7:37 pm
From: "John Beckett" <johnb.beck...@gmail.com>
Date: Wed, 3 Oct 2012 09:37:22 +1000
Local: Tues, Oct 2 2012 7:37 pm
Subject: RE: OT: The so called "steep learning curve" of vim...

Marc Weber wrote:
> Try Win + R -> "regedit" click on any folder -> File export
> -> save as .reg file. Then you have a binary format which you
> can open in Vim but which is unreadable for humans. Notepad
> decodes it.

On Windows (or most systems for that matter), your vimrc should
probably start with the following two lines:

set nocompatible
set encoding=utf-8

And, there should be nothing which sets fenc or fencs
(the 'fileencoding' and 'fileencodings' options).

You might have something to set fencs, but the defaults have
been sufficient for my modest needs.

With the above, Vim can correctly read a .reg file. After the
file is open, the following command shows that the .reg file
has file encoding utf-16le:

:set fenc?

John


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.