Loading ...
Sorry, an error occurred while loading the content.

Re: enter utf-8 symbols

Expand Messages
  • ZyX
    Ответ на сообщение «enter utf-8 symbols», присланное в 17:13:12 12 июня 2011, Воскресенье. ... Yes. Some methods (X
    Message 1 of 5 , Jun 12, 2011
    • 0 Attachment
      Ответ на сообщение «enter utf-8 symbols»,
      присланное в 17:13:12 12 июня 2011, Воскресенье.
      Отправитель: Oleg Puchinin:

      > Is it possible to enter characters UTF-8 on the code? For example some
      > command? Say - entered the command with the correct hex code and got
      > the correct character?
      Yes. Some methods (X means «hex character»):
      <C-v>xXX
      <C-v>uXXXX
      <C-v>UXXXXXXXX
      <C-r>="\uXXXX"<CR>
      <C-r>=nr2char(0xX...)<CR>
      (All meant to be run from insert or command mode. In second case input will go
      to the command line.)

      Текст сообщения:
      > Hello !
      > Is it possible to enter characters UTF-8 on the code? For example some
      > command? Say - entered the command with the correct hex code and got
      > the correct character?
      >
      > Best regards,
      > Oleg.
    • Oleg Puchinin
      Thank you, very much !!! ... -- You received this message from the vim_multibyte maillist. For more information, visit http://www.vim.org/maillist.php
      Message 2 of 5 , Jun 13, 2011
      • 0 Attachment
        Thank you, very much !!!

        2011/6/13 ZyX <zyx.vim@...>:
        > Ответ на сообщение <<enter utf-8 symbols>>,
        > присланное в 17:13:12 12 июня 2011, Воскресенье.
        > Отправитель: Oleg Puchinin:
        >
        >> Is it possible to enter characters UTF-8 on the code? For example some
        >> command? Say - entered the command with the correct hex code and got
        >> the correct character?
        > Yes. Some methods (X means <<hex character>>):
        > <C-v>xXX
        > <C-v>uXXXX
        > <C-v>UXXXXXXXX
        > <C-r>="\uXXXX"<CR>
        > <C-r>=nr2char(0xX...)<CR>
        > (All meant to be run from insert or command mode. In second case input will go
        > to the command line.)
        >
        > Текст сообщения:
        >> Hello !
        >> Is it possible to enter characters UTF-8 on the code? For example some
        >> command? Say - entered the command with the correct hex code and got
        >> the correct character?
        >>
        >> Best regards,
        >> Oleg.
        >

        --
        You received this message from the "vim_multibyte" maillist.
        For more information, visit http://www.vim.org/maillist.php
      Your message has been successfully submitted and would be delivered to recipients shortly.