我自己的配置檔案在我工作環境下面(中文字型好像只有兩三種),中文字顯示成為了框框。
檢視配置檔案
fileencodings
fileencoding
termencoding都已經設好
並且,在vim中ggvg然後到notepad中c-v,notepad中能夠顯示。
搞了一會,發現搞不定,這時候大蝦stanely說他用我的配置,將字型設定成simsum,中文就顯示正常了
原來vim下面中文(寬字元)字型單獨有設定option
然後我:h guifont :h guifontwide後發現,guifont管的比較寬,guifontwide字面理解就是寬字元了
我的配置
set fileencodings=cp936,utf-8,ucs-bom,latin1
set fileencoding=utf-8
let &termencoding=&encoding
set encoding=utf-8
set guifont=courier_new:h10
set guifontwide=nsimsun:h10
解決 SQL 不能正確顯示中文問題
use databasename goif notobject id employees is null drop table employees go create table employees id intprimary keyidentity 1,1 name nvarchar 50 not...
matplotlib 不能顯示中文
在python指令碼中動態設定matplotlibrc,這樣就避免了更改配置檔案的麻煩,方便靈活,例如 from pylab import mpl mpl.rcparams font.sans serif simhei 由於更改了字型導致顯示不出負號,將配署檔案中axes.unicode minus...
PLSQL無法正確顯示中文
1 查詢oracle server端的字符集。開啟plsql的查詢視窗中輸入下面sql查詢語句。select userenv language from dual 得到的伺服器字符集為 simplified chinese china.zhs16gbk 2 我的電腦 中環境變數介面,在系統變數中新加...