2013年7月4日 星期四

Win7_x64下Wing IDE支持中文顯示的方法 (修正亂碼)

最近利用空閒時間用Python編寫,遇到編輯器Wing IDE輸入中文的時候顯示亂碼,一番折騰之後放才解決問題。

解決步驟(下面以win7 64, Wing IDE 4.1 為例):

1:打開目錄 C:\Program Files (x86)\Wing IDE 4.1\bin\gtk-bin\etc\pango

2:備份文件 pango.aliases

3:以administrator打開記事本(不然後面編輯之後不讓保存)編輯文件 pango.aliases,將內容修改為

courier = "microsoft yahei"
sans = "microsoft yahei"
serif = "microsoft yahei"
monospace = "microsoft yahei"


然後保存,再打開Wing IDE的時候已經解決中文顯示亂碼問題。

沒有留言:

 Ubuntu has a mechanism, that is, the installed network card (NIC) will be renamed to another name when the system is booted. Although there...