vim

In normal mode, type ga to display the decimal and hex values for the character under the cursor, or type g8 to display the hex bytes for a UTF-8 character.

原文地址:https://www.cnblogs.com/cnblogist/p/6114619.html