improve doc (set encoding=utf-8)

This commit is contained in:
itchyny
2013-09-12 23:03:24 +09:00
parent f6abca6d29
commit c17b194ccd
2 changed files with 2 additions and 0 deletions

View File

@@ -229,6 +229,7 @@ let g:lightline = {
If the triangles do not appear (but you get some spaces or weird characters like <bf> or ¿), firstly try adding If the triangles do not appear (but you get some spaces or weird characters like <bf> or ¿), firstly try adding
```vim ```vim
scriptencoding utf-8 scriptencoding utf-8
set encoding=utf-8
``` ```
to the head of your `.vimrc`. to the head of your `.vimrc`.
Still you have weird characters, use the unicode numbers. For powerline font Still you have weird characters, use the unicode numbers. For powerline font

View File

@@ -934,6 +934,7 @@ Problem 8: *lightline-problem-8*
weird characters like <bf> or ¿), firstly try adding weird characters like <bf> or ¿), firstly try adding
> >
scriptencoding utf-8 scriptencoding utf-8
set encoding=utf-8
< <
to the head of your .vimrc(_vimrc). Still you have weird to the head of your .vimrc(_vimrc). Still you have weird
characters, use the unicode numbers. For |powerline| font characters, use the unicode numbers. For |powerline| font