Groups | Search | Server Info | Login | Register


Groups > comp.infosystems.www.authoring.html > #6560

Re: Numeric character references in W3C HTML 5.2?

From Eli the Bearded <*@eli.users.panix.com>
Newsgroups comp.infosystems.www.authoring.html
Subject Re: Numeric character references in W3C HTML 5.2?
Date 2018-04-06 18:15 +0000
Organization Some absurd concept
Message-ID <eli$1804061415@qaz.wtf> (permalink)
References <numeric-20180406135137@ram.dialup.fu-berlin.de> <pa82ha$2j8$1@news.albasani.net>

Show all headers | View raw


In comp.infosystems.www.authoring.html,
David E. Ross <nobody@nowhere.invalid> wrote:
>>   Does this mean, there are no numeric character references in
>>   HTML 5.2? So, one cannot use »&#65;« to insert an »A« into
>>   the document text?
> You are trying to use numeric character references.  PLEASE DO NOT, even
> if you use Unicode code point numbers (which you are not).

65 is a valid Unicode codepoint for LATIN LETTER CAPITAL A. Do you have
any reson for asking people not to use codepoints for encoind? I churn
out thousands per day, and until there is a way to name every character
in Unicode I'm likely to continue doing so.

> Instead, use named character references (formerlly known as entity
> references).  See

That list is pitifully small compared to the full size of Unicode. Where
is the Braille? The chess pieces? The emojis? The Ogham?

> While that chart does show Unicode code points, HTML does not support
> all code points.
> See also my <http://www.rossde.com/malaprops/writing_internet.html>.

That says:
    In any case, while code-numbers in the 8000 range are part of the
    Unicode standard, they are not part of the HTML specification. This
    further supports my position that character references (based on
    code-numbers) should not be used. 

Your position seems to be based on WAH-WAH-WAH-I-DON'T-SEE-IT-IT'S-NOT-REAL.

https://www.w3.org/TR/html5/syntax.html#character-references

    In certain cases described in other sections, text may be mixed with
    character references. These can be used to escape characters that
    couldn't otherwise legally be included in text.

Which has three subheadings:

    Named character references 
    Decimal numeric character reference 
    Hexadecimal numeric character reference 

And then says:

    The numeric character reference forms described above are allowed to
    reference any Unicode code point other than U+0000, U+000D,
    permanently undefined Unicode characters (noncharacters), surrogates
    (U+D800--U+DFFF), and control characters other than space
    characters.

Read that again "any Unicode code point".

Elijah
------
&#x1F595;

Back to comp.infosystems.www.authoring.html | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Numeric character references in W3C HTML 5.2? "David E. Ross" <nobody@nowhere.invalid> - 2018-04-06 08:08 -0700
  Re: Numeric character references in W3C HTML 5.2? "Jukka K. Korpela" <jukkakk@gmail.com> - 2018-04-06 18:52 +0300
    Re: Numeric character references in W3C HTML 5.2? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-04-06 21:37 +0200
      Re: Numeric character references in W3C HTML 5.2? John W Kennedy <john.w.kennedy@gmail.com> - 2018-04-06 23:00 -0400
        Re: Numeric character references in W3C HTML 5.2? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-04-08 01:43 +0200
    Re: Numeric character references in W3C HTML 5.2? "David E. Ross" <nobody@nowhere.invalid> - 2018-04-06 12:42 -0700
      Re: Numeric character references in W3C HTML 5.2? Gloops <gloops@zailes.invalid.org.invalid> - 2018-07-12 12:41 +0200
  Re: Numeric character references in W3C HTML 5.2? Eli the Bearded <*@eli.users.panix.com> - 2018-04-06 18:15 +0000
    Re: Numeric character references in W3C HTML 5.2? "David E. Ross" <nobody@nowhere.invalid> - 2018-04-06 12:52 -0700
      Re: Numeric character references in W3C HTML 5.2? Eli the Bearded <*@eli.users.panix.com> - 2018-04-06 20:59 +0000
  Re: Numeric character references in W3C HTML 5.2? HTML scrawler <html@nowhere.invalid> - 2018-04-15 13:51 -0400
    Re: Numeric character references in W3C HTML 5.2? "Jukka K. Korpela" <jukkakk@gmail.com> - 2018-04-15 23:17 +0300
      Re: Numeric character references in W3C HTML 5.2? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-04-15 23:50 +0200
      Re: Numeric character references in W3C HTML 5.2? HTML scrawler <html@nowhere.invalid> - 2018-04-17 19:12 -0400

csiph-web