Sunday, January 23, 2011

Re: cp1252 characters when enc=utf-8, fenc=cp1252

On Sat, Jan 22, 2011 at 7:16 PM, Chris Jones <cjns1989@gmail.com> wrote:
>>
>> So, is there a command to show the byte value of the character under
>> the cursor, as it will be written? If I need to I can convert to
>> binary but I'd rather just do something like 'ga'.
>
> Not sure what you want, but take a look at 'g8'..
>

Nope, this says "Print the hex values of the bytes used in the
character under the cursor, assuming it is in UTF-8 encoding." What I
want is, with my 'encoding' set to utf-8, to see the value of a
character as it will be written in an alternate 'fenc' (in this case,
cp1252).

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment