Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
方法: 各浏览器如何使用 utf-8 发贴
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
wangxiaohu
Apprentice
Apprentice


Joined: 15 Nov 2003
Posts: 248

PostPosted: Sun Dec 12, 2004 4:04 pm    Post subject: 方法: 各浏览器如何使用 utf-8 发贴 Reply with quote

设置方法

1. Firefox:

菜单-->查看-->字符编码-->Unicode(UTF-8)

2. Mozilla

3. Opera

View --> Encoding --> Unicode --> UTF-8

4. IE

查看 -> 编码 -> UTF-8

5. Safari:
View-> Text Encoding -> UTF8



Edits:
- Eric.200412171008: 添加 IE 部分
- Eric.200412141245: 把题目从原来的 "本版推荐用UTF-8发贴" 改成现在的 "方法: 各浏览器如何使用 UTF-8 发贴"
- Eric.200412131941: 请有上述浏览器的朋友帮忙跟贴完整 UTF-8 的设置方法 :)
- wangxiaohu.200506251202: 添加Safari设置 UTF-8 的方法
- AKar.200710031246: 本帖完成了它的歷史任務,光榮地退下來。
_________________
Linux simply sucks.

---- a Linux user (1996 - 2006)


Last edited by wangxiaohu on Sat Jun 25, 2005 3:50 pm; edited 2 times in total
Back to top
View user's profile Send private message
kohno
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2004
Posts: 112

PostPosted: Sun Dec 12, 2004 4:30 pm    Post subject: Reply with quote

支持!请在贴名那儿用上中英双语,最好繁體也用上!
Back to top
View user's profile Send private message
xiaosuo
n00b
n00b


Joined: 01 Apr 2004
Posts: 47
Location: china

PostPosted: Sun Dec 12, 2004 4:42 pm    Post subject: Reply with quote

不过看了这个网页的源码还是没有制定charset的
可不可以要求官方论坛改源码加上
charset=utf-8这样就能自动转换了。
_________________
I love freedom
and I want to fly
so I love linux
because I love linux
I choose gentoo
Back to top
View user's profile Send private message
Fleta
n00b
n00b


Joined: 12 Dec 2004
Posts: 68

PostPosted: Sun Dec 12, 2004 5:01 pm    Post subject: Reply with quote

如果用Konqueror可以在Fonts那儿将Default encoding改成uft-8。
我的Mozilla似乎自动就转成了uft-8了! :)
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Sun Dec 12, 2004 5:35 pm    Post subject: Reply with quote

Firefox選Auto-Detect Chinese就可以了,其他瀏覽器還沒試。
_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Back to top
View user's profile Send private message
SnEptUne
l33t
l33t


Joined: 23 Aug 2004
Posts: 651

PostPosted: Mon Dec 13, 2004 11:39 am    Post subject: Reply with quote

For Opera:

View --> Encoding --> Unicode --> UTF-8

Make sure you have Chinese fonts installed.
_________________
"There will be more joy in heaven over the tear-bathed face of a repentant sinner than over the white robes of a hundred just men." (LM, 114)
Back to top
View user's profile Send private message
ldh168
n00b
n00b


Joined: 14 Dec 2004
Posts: 19

PostPosted: Tue Dec 14, 2004 12:31 pm    Post subject: Reply with quote

太感谢楼主了,按照建议设置好后试发此贴,不知楼上各们能否正常查看?
Back to top
View user's profile Send private message
3331
n00b
n00b


Joined: 15 Dec 2004
Posts: 2

PostPosted: Wed Dec 15, 2004 11:06 am    Post subject: Re: 方法: 各浏览器如何使用 UTF-8 发贴 Reply with quote

我也试试,
不好意思。
:lol:
Back to top
View user's profile Send private message
akar
Moderator
Moderator


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Wed Dec 15, 2004 3:10 pm    Post subject: Reply with quote

一個在本論譠上的中文編碼使用的技巧:

Code:
1. 用 論譠的個人設置,把論譠改為中文界面(Forum->profile), 讓瀏覽器有一定的中文文字來偵測頁面的中文編碼。(!必需的!)
2. 把 瀏覽器 設定為自動偵測中文編碼。


謝謝 vliqi 的提醒和測試,詳見: :)
在編輯帖子的時候默認的編碼不是utf8
_________________
AKar
Back to top
View user's profile Send private message
dundas
Guru
Guru


Joined: 16 Dec 2004
Posts: 317
Location: China, Earth

PostPosted: Thu Dec 16, 2004 6:43 am    Post subject: Reply with quote

For IE
Same thing as firefox, just choose Unicode (UTF-8)

upup tiger!
Back to top
View user's profile Send private message
wangxiaohu
Apprentice
Apprentice


Joined: 15 Nov 2003
Posts: 248

PostPosted: Fri Dec 17, 2004 4:53 am    Post subject: Reply with quote

dundas wrote:
For IE
Same thing as firefox, just choose Unicode (UTF-8)

upup tiger!


哈哈哈,Dundas也来了,欢迎欢迎?在香港学得怎样?
_________________
Linux simply sucks.

---- a Linux user (1996 - 2006)
Back to top
View user's profile Send private message
lucida
Apprentice
Apprentice


Joined: 20 Feb 2003
Posts: 191

PostPosted: Thu Dec 23, 2004 8:11 pm    Post subject: Reply with quote

IE好像只能每次手工改呀
有没有自动化的方法?
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Fri Dec 24, 2004 8:10 pm    Post subject: Reply with quote

To summarize:

Mozilla/Firefox
View -> Character Encoding -> Customize -> Remove all Active Character Encodings, Add Unicode (UTF-8), Add back all the Encodings just removed so that Unicode (UTF-8) is on the top of the list -> OK

Konqueror
Settings -> Configure Konqueror -> Fonts -> Default encoding: utf8

Opera
Tools -> Preferences -> Languages -> Encoding to assume for pages lacking specification: utf-8

IE
Sorry, I don't know how to make its setting automatic.
_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Back to top
View user's profile Send private message
anstan
n00b
n00b


Joined: 14 May 2005
Posts: 4

PostPosted: Sun May 15, 2005 7:54 am    Post subject: Reply with quote

是啊,用ie每打开一个页面就要选一次,连回复的时候也要这样,挺麻烦的。
Back to top
View user's profile Send private message
zonzi
n00b
n00b


Joined: 29 Jul 2004
Posts: 6

PostPosted: Sun May 22, 2005 1:51 am    Post subject: Reply with quote

for safari:
view-> text encoding ->utf8
_________________
amd 64bit 3000+ nvidia ati9800pro gentoo
amd 1700+ nvidia geforce2
apple powerbook g4 1.5G tiger
i'm newbie
Back to top
View user's profile Send private message
kamanzhow
n00b
n00b


Joined: 24 May 2005
Posts: 1

PostPosted: Tue May 24, 2005 3:56 pm    Post subject: test Reply with quote

小弟刚来报到,发个贴测试一下UTF-8 ^_^
Back to top
View user's profile Send private message
dundas
Guru
Guru


Joined: 16 Dec 2004
Posts: 317
Location: China, Earth

PostPosted: Wed Jun 29, 2005 2:05 pm    Post subject: Reply with quote

Hi, I got everything working so nicely in chinese fonts, however the only place which I see blocks of chinese character is here using utf-8

something like 常[] | 搜索 | 会[]列表 | [] | Statistics | 个人资料 | 您没有新的站内信件 | 注[]

any one can give me some advices what I've done wrong?

thx a lot!
_________________
Appreciate Gentoo: Best Devs, Best Forums. YOU could help too: Help Answer
Back to top
View user's profile Send private message
wangxiaohu
Apprentice
Apprentice


Joined: 15 Nov 2003
Posts: 248

PostPosted: Thu Jun 30, 2005 12:16 am    Post subject: Reply with quote

dundas wrote:
Hi, I got everything working so nicely in chinese fonts, however the only place which I see blocks of chinese character is here using utf-8

something like 常[] | 搜索 | 会[]列表 | [] | Statistics | 个人资料 | 您没有新的站内信件 | 注[]

any one can give me some advices what I've done wrong?

thx a lot!


http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=78828
_________________
Linux simply sucks.

---- a Linux user (1996 - 2006)
Back to top
View user's profile Send private message
dundas
Guru
Guru


Joined: 16 Dec 2004
Posts: 317
Location: China, Earth

PostPosted: Thu Jun 30, 2005 3:13 am    Post subject: Reply with quote

ok, give me some time to test it tiger.
_________________
Appreciate Gentoo: Best Devs, Best Forums. YOU could help too: Help Answer
Back to top
View user's profile Send private message
dundas
Guru
Guru


Joined: 16 Dec 2004
Posts: 317
Location: China, Earth

PostPosted: Thu Jun 30, 2005 9:25 am    Post subject: Reply with quote

well, all my settings works well under mozilla, so now I'll drop konqueror.
_________________
Appreciate Gentoo: Best Devs, Best Forums. YOU could help too: Help Answer
Back to top
View user's profile Send private message
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Sat Jul 09, 2005 6:30 pm    Post subject: Reply with quote

Does anyone have this issue :

When i set the locales to en_US.UTF-8 firefox is behaving ok but i cannot use chinese input (fcitx).
When i set to zn_CH.UTF-8 to have chinese input to work, the font in firefox GUI is big and the letters are spaced a lot.

Well i think it makes firefox use chinese font, how can i stop it to do that ?

EDIT : Nevermind, i just switched to SCIM for firefox because fcitx just doesn't work with the locales set to non chinese :oops:
_________________
"Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals
Back to top
View user's profile Send private message
dundas
Guru
Guru


Joined: 16 Dec 2004
Posts: 317
Location: China, Earth

PostPosted: Sun Jul 10, 2005 2:37 am    Post subject: Reply with quote

ok, thx for that reminder.
_________________
Appreciate Gentoo: Best Devs, Best Forums. YOU could help too: Help Answer
Back to top
View user's profile Send private message
Freesnake
n00b
n00b


Joined: 12 May 2005
Posts: 35

PostPosted: Sun Aug 14, 2005 11:17 am    Post subject: Reply with quote

IE不能选择自动utf8,TNND……
Back to top
View user's profile Send private message
yinyou
n00b
n00b


Joined: 17 Jul 2006
Posts: 1
Location: Beijing

PostPosted: Mon Jul 17, 2006 4:44 pm    Post subject: Reply with quote

初来乍道,一开始我也是看到一大堆乱码,还不知道是怎么回事,想了一会试使用UTF8编码浏览,才知道也可以显示简体中文。
可是每浏览一个页面就需要手动点一次编码,很麻烦,不过现在不用了。

编码-+自动选择
---|简体中文
---+Unicode(UTF-8 )
Back to top
View user's profile Send private message
TheFishMonkey
n00b
n00b


Joined: 04 Jan 2006
Posts: 13

PostPosted: Sat Aug 12, 2006 8:45 am    Post subject: why don't you... Reply with quote

All this asking users to change there encodings isn't really necessary. Just add ,
<Directory />
AddDefaultCharset utf-8
</Directory>
to your httpd.conf file. It will fix the French and Arabic text too.
That way our "auto detect" encoding features will work correctly.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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