Sometimes we need to check character encoding for special word, or by contrast, to input some special words according to character encoding.
The article will show you how to handle the two situations.
Find the character encoding for special world
Move the cursor at the character and input
ga normal model, vim will tell us the character encoding value in octal, decimal and hex forms.
( There is a stupid way to check the character recording venue: just read the unicode table. )
Input words according to character encoding
Read the hex encoding value and edit in insert model. ( Encoding value contains three number in vim ).
ctrl + v.
u to indicate the value is hexadecimal code.
3. Input the complete hexdecimal code.
Two letter character.
Edit in the model.
ctrl + k.
2. Input the necessary littters.
For example, we use
<< to input quotation mark and
12 to get