nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

numeric character references (HTML)

Von: Helmut Richter (hhr-m@web.de) [Profil]
Datum: 16.07.2008 19:17
Message-ID: <Pine.LNX.4.64.0807161907000.27981@lxhri01.lrz.lrz-muenchen.de>
Followup-to: de.comp.standards
Newsgroup: de.comm.infosystems.www.authoring.misc de.comp.standards
[ Followup-To: de.comp.standards ]

Ich hätte eine kurze Frage. In http://www.w3.org/TR/REC-html40/charset.html
liest man:

5.3.1 Numeric character references

Numeric character references specify the code position of a character in the
document character set. Numeric character references may take two forms:

* The syntax "&#D;", where D is a decimal number, refers to the ISO 10646
decimal character number D.

* The syntax "&#xH;" or "&#XH;", where H is a hexadecimal
number, refers
to the ISO 10646 hexadecimal character number H. Hexadecimal numbers in
numeric character references are case-insensitive.

Was denn nun? Geht es um die "code position" im *document character set* oder
in *ISO 10646*?

Beispiel: Es ist im HTTP-Header "CP1252" festgelegt worden und im HTML-Text
steht "&#142;" oder "&#x8E". Ist das ein Z mit Hacek oder das
Steuerzeichen,
das in Unicode den Codepunkt U+008E belegt?

--
Helmut Richter

[ Auf dieses Posting antworten ]

Antworten