On 4/25/06, Dave Roberts <[EMAIL PROTECTED]> wrote:
> I find that if I'm in "latin1" and (in insert mode) type ctrl-v alt-n to
> insert the character then get get out of insert mode and put the cursor
> on the character and use "ga" to see what it is I get <M-n> but if I do
> the same thing when the encoding is "cp437" I get <M-^L>.

For me, the sequence i ctrl-v alt-n <Left> <C-O>  ga results
in exactly same thing:
    <î>  <|n>  <M-n>  238,  Hex ee,  Octal 356
This is vim7.0f
I used command :set encoding=8bit-cp437 to change encoding.

Some useful info is missinf in your email.

1. Do you toggle some other settings besides 'encoding' when
you switch between the two encodings ? What is exact sequence of
commands that you use to switch encodings ?

2. What is your vim version, and OS ? Console vim or gui vim ?

Yakov

Reply via email to