麻烦与ISO 8859-2 [英] Troubles with ISO 8859-2

查看:68
本文介绍了麻烦与ISO 8859-2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以为我会制作一个拉丁文2字符代码表。我用
使用元标记来表示ISO-8859-2,但是当我使用数字

实体时,比如拉丁大写字母R用急性,这是
$ b $bÀ它给了我ISO-8859-1字符(无论是那个还是

UTF-8字符,我想这都是一样的。)


我很好奇。我在这一点上已经放弃了这个项目,但是我想知道它是什么我没有看到。


我可以提供一个URL,但这会产生一系列新问题。

FireFox表示服务器上的页面是UTF-8,这可能是
是一个单独的问题,因为在本地查看页面FireFox

表示它是ISO-8859-2。然而,看来我的页面,甚至是本地的
,都显示了Unicode。


页面的URL是:
http://www.sundry.ws/comp/iso-8859-2。 html

但只有第一行才结束。


Ian

-
http://www.bookstacks.org/
http://www.sundry.ws/

解决方案

Ian Rastall写道:

页面的URL是:
http://www.sundry.ws/comp/iso-8859-2.html
但只有第一行已完成。




即使服务器设置正确,我仍然会看到A-acute:

http://tranchant.plus.com/tmp/iso-8859-2.htm2


超出我的知识,我很害怕。


-

Mark。
http://tranchant.plus.com/


2004年12月1日星期三,Ian Rastall写道:

我想我会制作一个拉丁文2字符代码表。


方便的交叉引用
http://www.unicode.org/Public/MAPPIN...859/8859-2.TXT

虽然值是十六进制而不是十进制

我使用元标记来表示ISO-8859-2,但是当我使用数字
实体时,


"数字字符参考是确切的术语

,比如拉丁大写字母R和急性,这是À


不,它不是。正如交叉映射表所示,它的字符为0x154,

,十进制为340.您也可以在我的页面上看到它
http://ppewww.ph.gla.ac.uk/~flavell/。 ..unidata01.html

它给了我ISO-8859-1字符


这就是192,所以它'按照设计工作。

我很好奇。我在这一点上几乎放弃了这个项目,但我想知道它是什么我没有看到。




你有一个基本的误解,关于如何用HTML表示字符

。在HTML4

规范中有关于它的部分。


祝你好运


In comp.infosystems。 www.authoring.html Alan J. Flavell写道:
< blockquote class =post_quotes>

for,拉丁语大写字母R和急性,这是À
不,它不是。如交叉映射表所示,它的字符为0x154,十进制为340.您还可以在我的页面上看到它
http://ppewww.ph.gla.ac.uk/~flavell/。 ..unidata01.html




根据我的理解,在ISO-8859-2中,它是0xC0:
http://www.columbia.edu/kermit/latin2.html

是十进制192.

你对HTML中字符的表示有一个基本的误解。



是的。我认为这是一种学习经历。任何进一步的

的想法将不胜感激。


Ian

-
http://www.bookstacks.org/
http://www.sundry.ws/


I thought I would make a table of the Latin-2 character code. I
use a meta tag to indicate ISO-8859-2, but when I use the numeric
entity, for, say Latin Capital Letter R With Acute, which is
À it gives me the ISO-8859-1 character (either that or the
UTF-8 character, which would be the same thing, I imagine.)

I''m curious about this. I''ve pretty much given up the project at
this point, but I''m wondering what it is I''m not seeing.

I can provide a URL, but that creates a new set of problems.
FireFox indicates that the page on the server is UTF-8, which may
be a separate issue, since when viewing the page locally FireFox
indicates it''s ISO-8859-2. Yet it does appear that my page, even
locally, is displaying Unicode.

The URL for the page is:
http://www.sundry.ws/comp/iso-8859-2.html
but only the first row is finished.

Ian
--
http://www.bookstacks.org/
http://www.sundry.ws/

解决方案

Ian Rastall wrote:

The URL for the page is:
http://www.sundry.ws/comp/iso-8859-2.html
but only the first row is finished.



Even when the server is set up properly, I still see the A-acute:

http://tranchant.plus.com/tmp/iso-8859-2.htm2

Beyond my knowledge, I''m afraid.

--
Mark.
http://tranchant.plus.com/


On Wed, 1 Dec 2004, Ian Rastall wrote:

I thought I would make a table of the Latin-2 character code.
Handy cross-reference at
http://www.unicode.org/Public/MAPPIN...859/8859-2.TXT
although the values are in hex rather than decimal
I use a meta tag to indicate ISO-8859-2, but when I use the numeric
entity,
"Numerical character reference" is the exact term
for, say Latin Capital Letter R With Acute, which is À
No, it isn''t. As the cross-mapping table shows, it''s character 0x154,
which in decimal would be 340. You can also see it on my page at
http://ppewww.ph.gla.ac.uk/~flavell/...unidata01.html
it gives me the ISO-8859-1 character
That''s what 192 is, so it''s working as designed.
I''m curious about this. I''ve pretty much given up the project at
this point, but I''m wondering what it is I''m not seeing.



You''ve got a fundamental misunderstanding about how characters are
represented in HTML. There''s a section about it in the HTML4
specification.

good luck


In comp.infosystems.www.authoring.html Alan J. Flavell wrote:

for, say Latin Capital Letter R With Acute, which is À
No, it isn''t. As the cross-mapping table shows, it''s
character 0x154, which in decimal would be 340. You can also
see it on my page at
http://ppewww.ph.gla.ac.uk/~flavell/...unidata01.html



From what I understand, in ISO-8859-2, it''s 0xC0:
http://www.columbia.edu/kermit/latin2.html
which is decimal 192.
You''ve got a fundamental misunderstanding about how characters
are represented in HTML.



Yes. I''m treating this as a learning experience. Any further
thoughts would be appreciated.

Ian
--
http://www.bookstacks.org/
http://www.sundry.ws/


这篇关于麻烦与ISO 8859-2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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