Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Zaurus 中文论坛 Forum Index » pdaXrom & debain & openBSD

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
abiword乱码的解决方法
View previous topic :: View next topic  
Author Message
hmily



Joined: 24 May 2006
Posts: 12

小企鹅: 0

PostPosted: 2006-Jun-25 Sun, pm3:36 Reply with quote
 Post subject: abiword乱码的解决方法

我使用的是badog老大提供的pdaxrom beta1 dbk版,在使用abiword的时候发现,只要是用中文字体保存文件,下次再打开该文件就会乱码。

经多方查找,终于在www.pumb.org找到一个有同样问题的帖子,但很可惜没有人回答,好像大家都没有这个问题?

我的解决方法:编辑 /usr/X11R6/bin/startx 文件,将“export LANG=zh_CN”后面加入“.gb2312”变为“export LANG=zh_CN.gb2312”保存后重新startx就可以了。

另外再转一篇设置abiword默认字体的文章,让你新建文档后立即就能输入中文:
AbiWord的文档字体,如果用默认的话,一般是打不上字的,这时我们要改一下模板;
一般的情况下AbiWord 安装在 /usr/share/AbiSuite-2.4目录中,这个需要您自己找找看了。我们在以前有说过怎么查找软件的安装目录;
我们找到/usr/share/AbiSuite-2.4/templates,然后找到 normal.awt-zh_CN 文件;最好您先备份一下;
找到如下的字样;
font-family:Times New Roman;
改为:
font-family:font-family:STSong;
当然您得有STSong这个字体,我们在前面提到的复制字体的事,那是个前提.
Back to top
View user's profile Send private message
badog
论坛管理员


Joined: 01 Nov 2006
Posts: 1021

小企鹅: 6575

PostPosted: 2006-Jun-25 Sun, pm5:19 Reply with quote
 Post subject:

专家级了.
Back to top
View user's profile Send private message Send e-mail
hmily



Joined: 24 May 2006
Posts: 12

小企鹅: 0

PostPosted: 2006-Jun-25 Sun, pm6:44 Reply with quote
 Post subject:

过奖了,你才是专家啊.我连皮毛还没学着。本本上装了Fedora Core ,基本上一个月才心血来潮进去一次。
abiword在台机上也有这个问题,是要将utf-8改为GB2312才能用中文字体正常保存和打开。
如果你的Fedora Core 中的abiword也有此问题,可以将/etc/sysconfig/i18n文件中的utf-8改为GB2312就可以了.


Last edited by hmily on 2006-Jun-28 Wed, pm10:29; edited 1 time in total
Back to top
View user's profile Send private message
yjzlyt



Joined: 10 Dec 2006
Posts: 12

小企鹅: 0

PostPosted: 2006-Jun-28 Wed, pm10:00 Reply with quote
 Post subject:

hmily真是专家级人物也,我一直在寻找解决办法,终于等到了,多谢!多谢!
Back to top
View user's profile Send private message
hades



Joined: 04 Nov 2006
Posts: 73

小企鹅: 474

PostPosted: 2006-Jun-29 Thu, am10:06 Reply with quote
 Post subject:

我用的是wjping的for c1000版。用AbiWord本身编辑的中文文档倒是没问题,可是用台机编辑的中文文档在 z 里打开就是乱码,必须改字体才能显示。。。。不知可有方法解决???
Back to top
View user's profile Send private message
hmily



Joined: 24 May 2006
Posts: 12

小企鹅: 0

PostPosted: 2006-Jun-29 Thu, pm4:36 Reply with quote
 Post subject:

这个不是乱码,只是字体不对,我上面所说的乱码是更改字体也不会恢复的,这个情况暂时没有解决方法。 Sad
Back to top
View user's profile Send private message
Display posts from previous:     
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Zaurus 中文论坛 Forum Index » pdaXrom & debain & openBSD All times are GMT + 8 Hours
Page 1 of 1

 
Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

[ 页面生成时间: 秒 ] :: [ 次查询 ] :: [ ]
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional