首选的charset? [英] preferred charset?

查看:58
本文介绍了首选的charset?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用charset windows-1252一段时间了,但最近有人向这个群体中的其他人指出它是b / b
Microsoft创作(我确定我的事实是错误或倾斜)和

因此不适合跨平台浏览。

无论如何,我开始我的恢复的道路(即打破我的成瘾

仅为IE创作)我想知道什么是

首选字符集?

我尝试了一次搜索,只找到了一些巨大的列表,这些列表让我眼花缭乱而没有告诉我使用哪一个完整的

范围的角色并拥有它们显示我打算的方式

讲英语的机器。

我不确定正确的术语,但我总是使用&字符

代替我键盘上没有出现的任何东西,

理想情况下,字符集应该显示那些,对吧? (例如,如果我想要显示蒙特利尔,我会输入Montr& eacute; al。)

谢谢!

I have been using the charset windows-1252 for a while, but it was
pointed out to someone else in this group recently that it''s a
Microsoft creation (I''m sure I''m getting my facts wrong or skewed) and
therefore not good for cross-platform browsing.
Anyway, I am beginning my road to recovery (ie, breaking my addiction
to authoring only for IE) and I would like to know what is the
preferred charset?
I have tried a search and only find immense lists that make me
cross-eyed without ever telling me which to use to utilize a full
range of characters and have them display the way I intend on
English-speaking machines.
I''m not sure of the proper term, but I always use the & character
substitutes for anything that doesn''t show up on my keyboard so,
ideally, the charset should display those, right? (For instance, if I
want to display Montréal, I would input Montréal.)
Thanks!

推荐答案

Jane Withnolastname< Ja ********************** @ yahoo.com>写道:
Jane Withnolastname <Ja**********************@yahoo.com> wrote:
无论如何,我开始恢复的道路(即,打破我的成瘾
只为IE创作)我想知道什么是
首选charset?


可能是UTF-8。


; K
Anyway, I am beginning my road to recovery (ie, breaking my addiction
to authoring only for IE) and I would like to know what is the
preferred charset?
Probably UTF-8.

;K



2003年8月27日星期三22:13:47 -0500,Mad Bad Rabbit

< ma ********** @ yahoo.com>写道:
On Wed, 27 Aug 2003 22:13:47 -0500, Mad Bad Rabbit
<ma**********@yahoo.com> wrote:
Jane Withnolastname< Ja ********************** @ yahoo.com>写道:
Jane Withnolastname <Ja**********************@yahoo.com> wrote:
无论如何,我开始恢复的道路(即,打破我的成瘾
只为IE创作)我想知道什么是
首选字符集?
Anyway, I am beginning my road to recovery (ie, breaking my addiction
to authoring only for IE) and I would like to know what is the
preferred charset?



可能是UTF-8。



Probably UTF-8.




我刚才尝试过UTF-8(认为是正确的一个)并且返回窗口,因为我得到了奇怪的结果。但是,

现在已经建议了,我已经回到了我有问题的文件,并且看到我使用的是开放和关闭的引号(而不是

键盘上的常规引号)。我不知道他们是怎么进入那里的b $ b因为我真的不得不去寻找我是如何得到的,所以

我必须要复制并粘贴它。

无论如何,这里有一个相关的问题:是否可以将

ASCII码写入html?如上例所示,它将是对于

的公开报价,并且对于近似报价。

这是可接受的,还是有另一种方式,类似于使用& eacute的首选

方法;而不是é?

或者我会更好地建议坚持使用常规报价并且从不

介意特殊的ASCII字符?

而我们在引用...是否可以使用引用键将

放入文件中,或者更好地使用& quot ;?

再次感谢。我现在感觉非常愚蠢:)


P.S.是否有所有替代角色的列表?我会b / b
尝试搜索,但我不知道这些的正确用语。



I tried UTF-8 a while ago (thinking it was the right one) and went
back to the windows one because I got odd results from it. However,
now that you have suggested it, I have gone back to the file I had
problems with and see that I was using open and close quotes (instead
of the regular quotes on the keyboard). I don''t know how they got in
there, because I really had to search to figure out how I got them, so
I must have copy&pasted it.
Anyway, here''s a sorta related question: is it acceptable to write
ASCII codes into html? As in the above example, it would be “ for
the open quote, and ” for the close quote.
Is that acceptable, or is there another way, similar to the preferred
method of using &eacute; rather than é?
Or would I be better advised to stick with regular quotes and never
mind special ASCII-only characters?
And while we''re on quotes ... is it acceptable to use the quote key to
put them in a file, or is it better to use &quot;?
Thanks again. I''m feeling quite stupid right now :)

P.S. Is there a list somewhere of all the alternate characters? I''d
try a search, but I don''t know the proper term for these.


Jane Withnolastname< Ja * *********************@yahoo.com>写道:
Jane Withnolastname <Ja**********************@yahoo.com> wrote:
无论如何,这里有一个相关的问题:将ASCII码写入html是否可以接受?如上例所示,它将是for
open quote和for close quote。


如果你宣布代码集是Unicode,那就没有。

除非你使用代码集1252,否则不是双引号。


要查找Unicode中的给定字符,请转到:

http://www.unicode.org/charts/


并查看(例如)General Punctuation"图表。

在Unicode中,您想要的双引号分配

代码&#x201C;和&#x201D;

这是可以接受的,还是有另一种方式,类似于使用& eacute的首选方法;而不是é?


好​​问题:是的。请参阅

http:// www .htmlhelp.com / reference / ht ... s / special.html


您可以使用实体& ldquo;和& rdquo;对于这些角色。

(比数字代码更容易记住)。

P.S.是否有所有替代角色的列表?我会尝试搜索,但我不知道这些的正确用语。


他们被称为HTML实体,上面的网站有列表。

HTH

; K
Anyway, here''s a sorta related question: is it acceptable to write
ASCII codes into html? As in the above example, it would be “ for
the open quote, and ” for the close quote.
Not if you''re declaring the codeset to be Unicode.
“ isn''t a double-quote unless you use codeset 1252.

To find a given character in Unicode, go to:

http://www.unicode.org/charts/

and look at (for example) "General Punctuation" chart.
In Unicode, the double-quotes you want are assigned
codes &#x201C; and &#x201D;
Is that acceptable, or is there another way, similar
to the preferred method of using &eacute; rather than é?
Good question: yes there are. See

http://www.htmlhelp.com/reference/ht...s/special.html

You can use entities &ldquo; and &rdquo; for these characters.
(which is a lot easier to remember than the numeric codes).
P.S. Is there a list somewhere of all the alternate characters? I''d
try a search, but I don''t know the proper term for these.
They''re called "HTML entities", and the above site has lists.
HTH
;K



这篇关于首选的charset?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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