Ответ на сообщение «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.