ubuntu 解决部分乱码

1 对于gedit,解决方法如下:

a)    gconf-editor
apps->gedit-2->preferences->encodings
auto_detected和shown_in_menu上点右键编辑,点add,分别加入GBK或GB18030和GB2312,并点UP按钮移动到第一位

 

b)   打开命令行输入gconf-editor

       选择app->gedit->preferences->encodings在auto_detected字段中添加GB2312
2 游戏或其他flash中文显示乱码

sudo rm /etc/fonts/conf.d/49-sansserif.conf


3 wine下,kugoo2008和winamp显示乱码的解决办法

先从Windows目录下的Fonts里的simsun.ttc复制到 ~/.wine/drive_c/windows/fonts里面。 然后把下面的代码保存为zh.reg,然后终端执行"regedit zh.reg"

我已经把代码存成了reg,大家也可直接下载使用[reg附件不能上传,大家自己copy然后另存吧]

[HKEY_LOCAL_MACHINE/Software/Microsoft/Windows NT/CurrentVersion/FontSubstitutes]
"Arial"="simsun"
"Arial CE,238"="simsun"
"Arial CYR,204"="simsun"
"Arial Greek,161"="simsun"
"Arial TUR,162"="simsun"
"Courier New"="simsun"
"Courier New CE,238"="simsun"
"Courier New CYR,204"="simsun"
"Courier New Greek,161"="simsun"
"Courier New TUR,162"="simsun"
"FixedSys"="simsun"
"Helv"="simsun"
"Helvetica"="simsun"
"MS Sans Serif"="simsun"
"MS Shell Dlg"="simsun"
"MS Shell Dlg 2"="simsun"
"System"="simsun"
"Tahoma"="simsun"
"Times"="simsun"
"Times New Roman CE,238"="simsun"
"Times New Roman CYR,204"="simsun"
"Times New Roman Greek,161"="simsun"
"Times New Roman TUR,162"="simsun"
"Tms Rmn"="simsun"

4 rhythmbox乱码解决:
sudo apt-get install python-mutagen
mid3iconv -e GBK *.mp3 #在MP3目录运行

5 解决wine方法
打开.wine/system.reg

搜索: LogPixels
找到的行应该是:[System//CurrentControlSet//Hardware Profiles//Current//Software//Fonts]
将其中的:
“LogPixels”=dword:00000060

改为:
“LogPixels”=dword:00000070

搜索: FontSubstitutes
找到的行应该是:[Software//Microsoft//Windows NT//CurrentVersion//FontSubstitutes]
将其中的:
“MS Shell Dlg”=”Tahoma”
“MS Shell Dlg 2″=”Tahoma”

改为:
“MS Shell Dlg”=”SimSun”
“MS Shell Dlg 2″=”SimSun”

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值