使用哪种字符集? [英] Which charset to use?

查看:86
本文介绍了使用哪种字符集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在< meta http-equiv =" Content-Type" content =" text / html;

charset = ????????">标签,什么是最好的字符集使用?我倾向于使用

UTF-8,除了它听起来比iso-8859-1等更好,

等......没有任何理由......是否有任何指导方针有点什么?


P.

解决方案

The Plankmeister < PL ****************** @ hotmail.com>写道:

在< meta http-equiv =" Content-Type" content =" text / html;
charset = ????????">标签,什么是最好的字符集使用?我倾向于使用
UTF-8,除了它听起来比iso-8859-1等等更酷......没有任何理由......有没有这方面的指导方针?




我们几天前就讨论了这个问题:

新闻:o6 ***************** ***************@4ax.com
http://groups.google.com/groups?th=375726c4206f6e49

也许你先读这个?


所以基本上,它取决于具体情况,而且是由UTF-8和iso-8859-1之间的两匹马进行的比赛?

从我可以收集的信息来看,iso-8859-1是最好的全能者,因为它本来就有某些字符,但是要获得相同的字符

in UTF -8,你需要使用实体代码吗?


我想我会切换到iso-8859-1并看看它是怎么回事......


感谢您的链接:)

P.

" Andreas Prilop" < NH ****** @ rrzn-user.uni-hannover.de>在消息中写道

news:090920032157072296%nh ****** @ rrzn-user.uni-hannover.de ...

" The Plankmeister" < PL ****************** @ hotmail.com>写道:

在< meta http-equiv =" Content-Type" content =" text / html;
charset = ????????">标签,什么是最好的字符集使用?我倾向于使用
UTF-8,除了它听起来比iso-8859-1
等更酷之外......没有任何理由......这种事情是否有任何指导?



我们几天前就讨论了这个问题:
新闻:o6 ************************* *******@4ax.com
http:/ /groups.google.com/groups?th=375726c4206f6e49
也许您先阅读此内容?



Plankmeister写道:< blockquote class =post_quotes>在< meta http-equiv =" Content-Type" content =" text / html;
charset = ????????">标签




您的服务器应该发送该信息,而不是使用meta

hack。


-


Mark Parnell
http://www.clarkecomputers.com.au


In the <meta http-equiv="Content-Type" content="text/html;
charset=????????"> tag, what is the best charset to use? I tend to use
UTF-8, for no reason other than it sounds much cooler than iso-8859-1 etc
etc... Are there any guidelines for this sort of thing?

P.

解决方案

"The Plankmeister" <pl******************@hotmail.com> wrote:

In the <meta http-equiv="Content-Type" content="text/html;
charset=????????"> tag, what is the best charset to use? I tend to use
UTF-8, for no reason other than it sounds much cooler than iso-8859-1 etc
etc... Are there any guidelines for this sort of thing?



We had this discussion just a few days ago:
news:o6********************************@4ax.com
http://groups.google.com/groups?th=375726c4206f6e49
Maybe you read this first?


So basically, it''s dependant on the situation, and it''s down to a two horse
race between UTF-8 and iso-8859-1?
From what I can gather, iso-8859-1 is the best all rounder because it
intrinsically has certain characters, whereas to obtain the same characters
in UTF-8, you need to use entity codes?

I think I''ll make the switch to iso-8859-1 and see how it goes...

Thanks for the link :)

P.
"Andreas Prilop" <nh******@rrzn-user.uni-hannover.de> wrote in message
news:090920032157072296%nh******@rrzn-user.uni-hannover.de...

"The Plankmeister" <pl******************@hotmail.com> wrote:

In the <meta http-equiv="Content-Type" content="text/html;
charset=????????"> tag, what is the best charset to use? I tend to use
UTF-8, for no reason other than it sounds much cooler than iso-8859-1 etc etc... Are there any guidelines for this sort of thing?



We had this discussion just a few days ago:
news:o6********************************@4ax.com
http://groups.google.com/groups?th=375726c4206f6e49
Maybe you read this first?



The Plankmeister wrote:

In the <meta http-equiv="Content-Type" content="text/html;
charset=????????"> tag



You server should be sending that information, rather than using a meta
hack.

--

Mark Parnell
http://www.clarkecomputers.com.au


这篇关于使用哪种字符集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆