1

I am trying to get the unicode character '①' inserted in vim with the insert mode command but failed.

<CTRL-Q>u2460 --> result:$`

So I copied the unicode to vim and checked the hex value using ga to find the value as '8740'. I re-entered the unicode codepoint using the determined hex value to get the character successfully.

<CTRL-Q>u8740 --> result:①

But I don't understand why the codepoint '2460' does not work.

I am using windows 7. set encoding? gives me cp932.

3
  • Which platform are you on? And what does :set encoding? give? Apr 21, 2017 at 1:38
  • Its a system working on Windows 7. Encoding is cp932. Apr 21, 2017 at 2:13
  • 4
    Try using utf-8 if possible; while Vim works with many encodings, I've found that it supports utf-8 best. Apr 21, 2017 at 2:17

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.