欧元符号的一些问题 [英] some problems with the euro symbol

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

问题描述

问候,


我目前正在一个网站上工作,我需要打印欧元

符号和一些oe符号。比如oeuvre。


如果我选择这个:


<!DOCTYPE html PUBLIC" - // W3C // DTD XHTML 1.0 Strict // EN"

" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >

< html

xmlns =" http://www.w3.org/1999/xhtml"

xml:lang =" en"

lang =" en">

< head>

< title>< / title>

< meta name =" GENERATOR" content =" Quanta Plus" />

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

charset = iso-8859-15" />

然后我得到欧元但不是oe


如果我使用iso8859-1那么它是相反的:(


帮助!!


很多thx!

greetings,

I am currently working on a website where I need to print the Euro
symbol and some "oe" like in "oeuvre".

If I choose this :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >
<html
xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en"
lang="en">
<head>
<title></title>
<meta name="GENERATOR" content="Quanta Plus" />
<meta http-equiv="Content-Type" content="text/xhtml;
charset=iso-8859-15" />
then I get Euros but not the "oe"

If I use iso8859-1 then it is the other way round :(

help !!

many thx !

推荐答案

gabriel写道:
"gabriel" wrote:
我需要打印欧元符号和一些oe,如oeuvre。

如果我选择这个:

< meta http-equiv =" Content-Type" content =" text / xhtml;
charset = iso-8859-15" />
<然后我得到欧元而不是oe

如果我使用iso8859-1那么它是相反的:(
I need to print the Euro symbol and some "oe" like in "oeuvre".

If I choose this :

<meta http-equiv="Content-Type" content="text/xhtml;
charset=iso-8859-15" />

then I get Euros but not the "oe"

If I use iso8859-1 then it is the other way round :(




你确定吗?ISO 8859-1不包含欧元符号或OE连字。

也许你只是使用了错误的字符代码?

你可以在这里查看:< http://en.wikipedia.org/wiki/ISO_8859-15>。但是不会因为使用HTML实体更容易
& euro;,& OElig;和& oelig;?


-

phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/


gabriel写道:
gabriel wrote:
我目前正在一个网站上工作,我需要打印欧元
符号


你确定吗?顺便说一下,这个名字是欧元,除非你写的是德语或句子的开头。在正常文本中,按语言,案例和数字形式的合适形式的单词euro,

优于欧元

标志。 (问任何印刷工。)在价目表中,你可以使用& euro;。请参阅
http://www.cs。 tut.fi/~jkorpela/html/euro.html

和一些oe喜欢在oeuvre中。


好​​吧,也许吧。大多数法国作家似乎只使用oe,而不是字母

oe(官方称为ligature oe)。但你可以使用& oelig;如果你对b $ b足够关心并愿意冒小风险。 (我不确定广告搜索引擎是如何识别字母oe等同于

字母对的。)

< !DOCTYPE html PUBLIC" - // W3C // DTD XHTML 1.0 Strict // EN"
" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >


在网上使用XHTML意味着不必要的风险。如果你小心的话,你可以冒风险

,但你对_win_的期望是什么?


顺便说一句,发布一个URL非常多发布

伪随机标记片段非常有用。首先,它让我们检查HTTP级别指定的

字符编码;它可能会覆盖你可能有的任何元黑客攻击。

< meta http-equiv =" Content-Type" content =" text / xhtml;
charset = iso-8859-15" />


不要在网上使用iso-8859-15。没有什么可以赢的,而且还有很多东西可以丢失。

然后我得到欧元而不是oe
I am currently working on a website where I need to print the Euro
symbol
Are you sure? By the way, the name is "euro", unless you are writing
German or at the start of a sentence. In normal text, the word "euro",
in suitable form by language, case, and number, is superior to the euro
sign. (Ask any typographer.) In a price list, you could use &euro;. See
http://www.cs.tut.fi/~jkorpela/html/euro.html
and some "oe" like in "oeuvre".
Well, maybe. Most French writers seem to use just "oe", not the letter
oe (officially called "ligature oe"). But you could use &oelig; if you
care enough and are willing to take a small risk. (I''m not sure how
widely search engines recognize the letter oe as equivalent to the
letter pair oe.)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >
Use of XHTML on the web means unnecessary risks. You can make the risks
rather small if you are careful, but what do you expect to _win_?

By the way, posting a URL is immensely more useful that posting a
pseudorandom snippet of markup. For one thing, it lets us check the
character encoding as specified at the HTTP level; it may well override
any meta hacks you might have.
<meta http-equiv="Content-Type" content="text/xhtml;
charset=iso-8859-15" />
Don''t use iso-8859-15 on the web. There''s nothing to be won, and quite a
few things to be lost.
then I get Euros but not the "oe"




你到底做了什么?我是否提到需要URL?



So what did you actually do? Did I mention that the URL is needed?


gabriel写道:
gabriel wrote:

问候,

我我目前在一个网站上工作,我需要打印欧元
符号和一些oe符号。比如oeuvre。

如果我选择这个:

<!DOCTYPE html PUBLIC" - // W3C // DTD XHTML 1.0 Strict // EN"
" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >
< html
xmlns =" http://www.w3.org/1999/xhtml"
xml:lang =" en"
lang =" ; en">
< head>
< title>< / title>
< meta name =" GENERATOR" content =" Quanta Plus" />
< meta http-equiv =" Content-Type" content =" text / xhtml;
charset = iso-8859-15" />

然后我得到欧元而不是oe

如果我使用iso8859-1那么它是相反的:(
<帮助!!

很多thx!

greetings,

I am currently working on a website where I need to print the Euro
symbol and some "oe" like in "oeuvre".

If I choose this :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >
<html
xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en"
lang="en">
<head>
<title></title>
<meta name="GENERATOR" content="Quanta Plus" />
<meta http-equiv="Content-Type" content="text/xhtml;
charset=iso-8859-15" />

then I get Euros but not the "oe"

If I use iso8859-1 then it is the other way round :(

help !!

many thx !




正如其他人所说,你应该使用ISO-8859-1(不是

iso8859-1)。此外,你应该使用实体参考

& euro;,& OElig;和& oelig;。


但是,如果查看页面的

用户使用的计算机上的字体不支持这些符号,则无法正常工作。使用

样式-sheets(或不推荐使用的< font>标记)强制使用

字体并不一定有帮助,因为旧版本的字体仍然不会

支持欧元符号,即使你的相同字体的版本支持它。在1999年之前创建的字体集(以及那些年或之后在

中创建的字体集)不支持欧元。脚本和其他

幻想字体经常无法支持欧元和其他符号。

此外,一些字体支持显示符号,但不支持

打印;这可以是打印机的功能。


-


David E. Ross

< URL :http://www.rossde.com/>


我使用Mozilla作为我的Web浏览器,因为我想要一个符合Web标准的浏览器

。请参阅< URL:http://www.mozilla.org/>。



As others have noted, you should be using ISO-8859-1 (not
iso8859-1). Also, you should be using the entity references
&euro;, &OElig;, and &oelig;.

However, none of this works if the font on the computer used by the
person viewing the page does not support those symbols. Using
style-sheets (or the deprecated <font> tag) to force the use of a
font won''t necessarily help since old versions of fonts still won''t
support the euro symbol, even if your version of the same font does
support it. Font sets created before 1999 (and some created in
that year or later) do not support the euro. Script and other
fanciful fonts often fail to support the euro and other symbols.
Furthermore, some fonts support the symbols for display but not for
printing; that can be a function of the printer.

--

David E. Ross
<URL:http://www.rossde.com/>

I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.


这篇关于欧元符号的一些问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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