网页和TXT文档文字乱码怎么解决?详细一点

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
黑侠人才
帖子: 9
注册时间: 2009-05-08 20:28

网页和TXT文档文字乱码怎么解决?详细一点

#1

帖子 黑侠人才 » 2009-05-08 20:34

部分网页字体全是小框(如下图),一些在windows下编写的TXT文件打开后也是乱码。
在网上搜索了一些,但是步骤太简略了。我用的ubuntu9.04,安装了中文包
附件
网页乱码
网页乱码
喜欢折腾就折腾吧,老衲有的是精力~
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 网页和TXT文档文字乱码怎么解决?详细一点

#2

帖子 eexpress » 2009-05-08 20:38

flash的字体问题。论坛有说明
● 鸣学
tusooa
帖子: 6548
注册时间: 2008-10-31 22:12
系统: 践兔
联系:

Re: 网页和TXT文档文字乱码怎么解决?详细一点

#3

帖子 tusooa » 2009-05-08 21:05

文本文件是编码问题,打开时用相应编码打开即可

代码: 全选

] ls -ld //
头像
黑侠人才
帖子: 9
注册时间: 2009-05-08 20:28

Re: 网页和TXT文档文字乱码怎么解决?详细一点

#4

帖子 黑侠人才 » 2009-05-08 22:08

tusooa 写了:文本文件是编码问题,打开时用相应编码打开即可
可以说更详细点吗? 我双击txt文件的时候,它弹出提示“在终端运行”“显示”“取消”和“运行”。我选择显示之后打开文本,就直接看到乱码了,没有发现你说的可以调整编码的地方…… :em06
附件
问题显示
问题显示
喜欢折腾就折腾吧,老衲有的是精力~
头像
xiongdeqin
帖子: 7
注册时间: 2008-07-28 8:24
来自: china
联系:

Re: 网页和TXT文档文字乱码怎么解决?详细一点

#5

帖子 xiongdeqin » 2009-05-09 14:39

右击--用“OpenOffice.org文字处理”打开--字符集-简体中文
附件
看图吧~~
看图吧~~
头像
smallapple
论坛版主
帖子: 7868
注册时间: 2009-03-28 15:12

Re: 网页和TXT文档文字乱码怎么解决?详细一点

#6

帖子 smallapple » 2009-05-09 14:50

代码: 全选

gconf-editor
apps-->gedit-2-->preferences-->encodings-->auto_detected & show_in_menu 添加编码 GB18030 并移到最上,可解决文本文件乱码。

/etc/fonts/conf.d下的49-sansserif.conf
<string>sans_serif</string> 改为 <string>文泉驿正黑</string> 解决flash 乱码
头像
fairytale
帖子: 371
注册时间: 2008-06-29 13:18

Re: 网页和TXT文档文字乱码怎么解决?详细一点

#7

帖子 fairytale » 2009-05-09 14:51

方框那个

代码: 全选

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

txt建议装E-book Reader之类的,可以显示。gedit似乎不行
头像
luojie-dune
帖子: 22033
注册时间: 2007-07-30 18:28
系统: Linux
来自: 空气中

Re: 网页和TXT文档文字乱码怎么解决?详细一点

#8

帖子 luojie-dune » 2009-05-09 14:59

要知识就自己去查,解决问题为主。
『这个世界都是我的 ,我爱你们』

ENTP ⥂ INTP ⥄ INFP ⇦ INTJ

在此发布的文章使用 Creative Commons Attribution-ShareAlike 4.0 协议
头像
黑侠人才
帖子: 9
注册时间: 2009-05-08 20:28

Re: 网页和TXT文档文字乱码怎么解决?详细一点

#9

帖子 黑侠人才 » 2009-05-09 21:40

非常感谢6楼,问题解决了!
喜欢折腾就折腾吧,老衲有的是精力~
头像
jandyzhu
帖子: 3331
注册时间: 2008-04-02 13:26
来自: 上海
联系:

Re: 网页和TXT文档文字乱码怎么解决?详细一点

#10

帖子 jandyzhu » 2009-05-09 22:07

网页乱码:http://docs.google.com/Doc?id=dgthtrjr_594g3nvkd8

txt文件乱码:
1、打开gedit。
2、点击菜单“文件——打开”。
3、在打开对话框中添加下面几种字符编码:简体中文GB18030、简体中文GB2312和简体中文GBK。
4、再打开文本文件,就不会显示乱码了。
5、如果还是显示乱码的话,就在打开时选择上面的字符编码试试。
chenhj520
帖子: 1
注册时间: 2009-05-10 22:52

Re: 网页和TXT文档文字乱码怎么解决?详细一点

#11

帖子 chenhj520 » 2009-05-11 17:23

[皋序]
星瀺字䜓(äž­)=*
星瀺字䜓(英)=Courier New
星瀺字䜓倧小=12
䞻窗口字䜓倧小=12
字䜓区域=zh_CN.UTF-8
䜿甚AA字䜓=1


我的txt 打开后显示这中乱码,不知道是什么码。
好像是种字体
我使用
$ fc-list
显示:
Umpush:style=Oblique
Nimbus Sans L:style=Regular Italic
Japan:style=Regular
DejaVu Serif,DejaVu Serif Condensed:style=Condensed,Book
WenQuanYi Bitmap Song:style=Bold
Bitstream Vera Sans Mono:style=Bold
Tarablus:style=Regular
AlBattar:style=Regular
URW Palladio L:style=Roman
DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold Italic,Bold Italic
Century Schoolbook L:style=Bold Italic
DejaVu Serif,DejaVu Serif Condensed:style=Condensed Bold,Bold
DejaVu Sans,DejaVu Sans Condensed:style=Condensed Oblique,Oblique
Lohit Punjabi:style=Regular
DejaVu Sans Mono:style=Bold Oblique
Norasi:style=Oblique
Sindbad:style=Regular
TlwgTypewriter:style=Oblique
AlManzomah:style=Regular
Bitstream Vera Sans:style=Oblique
TlwgMono:style=Medium
Tlwg Typo:style=Medium
DejaVu Serif:style=Bold Italic
Nimbus Sans L:style=Bold
OpenSymbol:style=Regular
Norasi:style=BoldOblique
UnDotum,은 돋움:style=Regular
Tlwg Typo:style=BoldOblique
URW Chancery L:style=Medium Italic
Rehan:style=Regular
Bitstream Vera Sans:style=Roman
Bitstream Charter:style=Bold Italic
Mukti Narrow,মুক্তি:style=Regular
DejaVu Sans:style=Bold Oblique
文泉驿等宽正黑,文泉驛等寬正黑,WenQuanYi Zen Hei Mono:style=中等,Medium
Nimbus Roman No9 L:style=Regular
AR PL UMing TW:style=Light
Khalid:style=Regular
Rasheeq,Rasheeq\-Bold:style=Bold
Loma:style=Oblique
Century Schoolbook L:style=Bold
Century Schoolbook L:style=Italic
Mukti Narrow,মুক্তি পাতনা,Mukti Narrow Bold:style=Regular,Bold
AR PL UMing HK:style=Light
AR PL UMing CN:style=Light
Norasi:style=BoldItalic
Nimbus Sans L:style=Regular
FreeSerif:style=Bold,polkrepko
Granada:style=Regular
URW Palladio L:style=Italic
Garuda:style=Oblique
Mallige:style=Bold
Nimbus Sans L:style=Bold Condensed
TlwgTypewriter:style=Medium
UnBatang,은 바탕:style=Bold
URW Gothic L:style=Demi
FreeSerif:style=Italic,ležeče
AlArabiya:style=Regular
Nimbus Roman No9 L:style=Medium Italic
AlHor:style=Regular
Bitstream Charter:style=Regular
Garuda:style=BoldOblique
Nimbus Mono L:style=Bold Oblique
Kinnari:style=Medium
Sazanami Mincho,さざなみ明朝:style=Regular,Mincho-Regular
FreeSans:style=Medium,navadno
Norasi:style=Italic
Dingbats:style=Regular
TlwgMono:style=Bold
Mashq,Mashq\-Bold:style=Bold
Loma:style=BoldOblique
AlMohanad:style=Regular
Bitstream Vera Sans Mono:style=Oblique
Waree:style=Oblique
Nimbus Roman No9 L:style=Medium
Nimbus Sans L:style=Bold Italic
Nada:style=Regular
Courier 10 Pitch:style=Bold Italic
AR PL UKai TW MBE:style=Book
文鼎PL简报宋,AR PL SungtiL GB:style=Regular
文泉驿正黑,文泉驛正黑,WenQuanYi Zen Hei:style=中等,Medium
DejaVu Sans:style=Oblique
Nimbus Mono L:style=Regular
FreeSans:style=Oblique,ležeče
Umpush:style=Book
Umpush:style=Bold
Norasi:style=Regular
Bitstream Charter:style=Italic
Petra:style=Regular
URW Gothic L:style=Book
Furat:style=Regular
Cortoba:style=Regular
Bitstream Vera Sans:style=Bold
Kinnari:style=Oblique
Sawasdee:style=Bold
AlYarmook:style=Regular
TlwgTypewriter:style=Bold
DejaVu Sans Mono:style=Oblique
Nice:style=Regular
FreeMono:style=Negreta cursiva,tučné kurzíva,fed kursiv,Fett Kursiv,Έντονα Πλάγια,BoldOblique,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná kurzíva,Fet Kursiv,Kalın İtalik,polkrepko ležeče,Lodi etzana
Rachana:style=Regular
DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold Oblique,Bold Oblique
Waree:style=BoldOblique
Tlwg Typist:style=BoldOblique
Jet:style=Regular
Metal:style=Regular
Courier 10 Pitch:style=Italic
AR PL UKai CN:style=Book
AR PL UKai HK:style=Book
TlwgTypewriter:style=BoldOblique
Salem:style=Regular
Bitstream Vera Serif:style=Roman
Purisa:style=Medium
AR PL UKai TW:style=Book
Tlwg Typist:style=Bold
Hor:style=Regular
DejaVu Sans,DejaVu Sans Light:style=ExtraLight
Tlwg Typo:style=Oblique
Bitstream Vera Sans Mono:style=Bold Oblique
Kinnari:style=BoldItalic
Kinnari:style=BoldOblique
Bitstream Vera Sans:style=Bold Oblique
Nimbus Sans L:style=Regular Condensed Italic
FreeSans:style=Bold,polkrepko
Norasi:style=Bold
URW Bookman L:style=Demi Bold
Electron:style=Regular
URW Bookman L:style=Light
Shado:style=Regular
FreeMono:style=Negreta,tučné,fed,Fett,Έντονα,Bold,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,Полужирный,Fet,Kalın,polkrepko,đậm,Lodia
URW Gothic L:style=Demi Oblique
Standard Symbols L:style=Regular
Mallige:style=Normal
Bitstream Vera Sans Mono:style=Roman
Hani:style=Regular
FreeMono:style=Normal,obyčejné,Standard,Κανονικά,Medium,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,navadno,thường,Arrunta
ori1Uni,utkal:style=Medium
Sawasdee:style=Regular
Ostorah:style=Regular
FreeSerif:style=Medium,navadno
Kayrawan:style=Regular
Courier 10 Pitch:style=Regular
DejaVu Sans,DejaVu Sans Condensed:style=Condensed,Book
DejaVu Sans,DejaVu Sans Condensed:style=Condensed Bold,Bold
Vemana2000,Pothana2000:style=Pothana2000,Regular
Lohit Hindi:style=Regular
Dimnah:style=Regular
URW Palladio L:style=Bold
Nimbus Sans L:style=Regular Condensed
Sawasdee:style=BoldOblique
文鼎PL細上海宋,AR PL Mingti2L Big5:style=Regular,Reguler
Loma:style=Bold
Loma:style=Book
Sazanami Gothic,さざなみゴシック:style=Regular,Gothic-Regular
URW Bookman L:style=Light Italic
Umpush:style=Light
Phetsarath OT:style=Regular
WenQuanYi Bitmap Song:style=Regular
Century Schoolbook L:style=Roman
TlwgMono:style=Oblique
AlMateen,AlMateen\-Bold:style=Bold
FreeSerif:style=BoldItalic,polkrepko ležeče
Nimbus Roman No9 L:style=Regular Italic
TlwgMono:style=BoldOblique
Haramain:style=Regular
Courier 10 Pitch:style=Bold
Garuda:style=Book
Garuda:style=Bold
Lohit Tamil:style=Regular
DejaVu Sans:style=Bold
DejaVu Sans:style=Book
Graph:style=Regular
Kinnari:style=Italic
URW Gothic L:style=Book Oblique
URW Palladio L:style=Bold Italic
AlMothnna,AlMothnna\-Bold:style=Bold
Sharjah:style=Regular
Tholoth:style=Regular
Kinnari:style=Bold
DejaVu Serif:style=Italic
Sawasdee:style=Oblique
UnDotum,은 돋움:style=Bold
Nagham:style=Regular
Nimbus Mono L:style=Regular Oblique
Bitstream Vera Serif:style=Bold
Lohit Gujarati:style=Regular
UnBatang,은 바탕:style=Regular
DejaVu Sans Mono:style=Book
DejaVu Sans Mono:style=Bold
Umpush:style=BoldOblique
Umpush:style=LightOblique
Nimbus Mono L:style=Bold
FreeSans:style=BoldOblique,polkrepko ležeče
AR PL UMing TW MBE:style=Light
Tlwg Typist:style=Medium
Bitstream Charter:style=Bold
Mashq:style=Regular
Ouhod,Ouhod\-Bold:style=Bold
FreeMono:style=Cursiva,kurzíva,kursiv,Πλάγια,Oblique,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,Kursywa,Itálico,Курсив,İtalik,ležeče,nghiêng,Etzana
Waree:style=Book
Waree:style=Bold
Nimbus Sans L:style=Bold Condensed Italic
URW Bookman L:style=Demi Bold Italic
Tlwg Typist:style=Oblique
Tlwg Typo:style=Bold
Arab:style=Regular
DejaVu Serif:style=Book
DejaVu Serif:style=Bold


好象是这个字体
Mukti Narrow,মুক্তি:style=Regular

但不知道处理。
头像
bcbcc
帖子: 78
注册时间: 2007-02-06 17:09

Re: 网页和TXT文档文字乱码怎么解决?详细一点

#12

帖子 bcbcc » 2009-06-06 16:29

6楼不错阿,解决了
maturing666
帖子: 1
注册时间: 2009-08-12 19:39

Re: 网页和TXT文档文字乱码怎么解决?详细一点

#13

帖子 maturing666 » 2009-08-12 19:39

谢谢10楼。
头像
shanliang8008
帖子: 1362
注册时间: 2007-07-16 19:43
来自: tangshan

Re: 网页和TXT文档文字乱码怎么解决?详细一点

#14

帖子 shanliang8008 » 2009-08-12 19:43

真不知道utf8是标准还是gb市标准,Windows我到都是乱码
回复