Groups | Search | Server Info | Login | Register


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

Re: Numeric character references in W3C HTML 5.2?

From HTML scrawler <html@nowhere.invalid>
Newsgroups comp.infosystems.www.authoring.html
Subject Re: Numeric character references in W3C HTML 5.2?
Message-ID <q7ucddtqlmnafobfgj5582oe7fv5u49j4o@4ax.com> (permalink)
References <numeric-20180406135137@ram.dialup.fu-berlin.de> <pa82ha$2j8$1@news.albasani.net> <s037dddik6kbfvl3o39rieh7o6res9qmou@4ax.com> <pb0c0r$ada$1@dont-email.me>
Organization Newshosting.com - Highest quality at a great price! www.newshosting.com
Date 2018-04-17 19:12 -0400

Show all headers | View raw


On Sun, 15 Apr 2018 23:17:31 +0300, "Jukka K. Korpela"
<jukkakk@gmail.com> wrote:

>HTML scrawler wrote:
>
>> On Fri, 6 Apr 2018 08:08:25 -0700, "David E. Ross"
>> <nobody@nowhere.invalid> wrote:
>[...]
>>> You are trying to use numeric character references.  PLEASE DO NOT, even
>>> if you use Unicode code point numbers (which you are not).
>>>
>>> Instead, use named character references (formerlly known as entity
>>> references). ....
>> 
>> Hold on, are you saying that we shouldn't be using UNICODE in our HTML
>> documents?
>
>Or that we should not use PROSE in our texts? Please ignore the 
>nonsense, as well as the trolling by Lahn. There is ignorance, and there 
>is worse; ignore both if you can.
>
>> I routinely use &#38; to put ampersands into text, e.g. "I went to the
>> A&#38;P store and bought some tea." Are you saying that that shouldn't
>> be done?
>
>That’s a completely different issue. The reference &#38; denotes the 
>Ascii apostrophe, which should never be used in English prose.

Well, &#38; is the ampersand, the apostrophe is &#39;.

> It does not matter how you enter it. ....

Okay, good.

>> I also tend to put in &#160; instead of &nbsp; for a non-breaking
>> space. 
>
>They are completely equivalent. Whether you use one of them instead of 
>the no-break space character itself depends on the authoring 
>environment. If your authoring tools can show no-break space differently 
>from a normal space (say, using a colored rectangle), then why would you 
>obscure things by not using the character itself?

In some cases the non-breaking space has been very useful to me.

>> There are other UNICODE uses as well, including &#8212; which
>> puts a long hyphen in text.
>
>It’s not a long hyphen. It’s the em dash “—” used as punctuation 
>character in some styles in English (mainly in the US) and in some other 
>languages. Here, too, things depend on the authoring environment. If it 
>can handle “—” well, there is no reason to obscure it, any more than we 
>obscure the letter “A” in data by representing it as &#x41;.

Yes, I use the em dash as a sort of punctuation. I think that Unicode
is the safest way for me to get one plugged into text.

So it seems it's still okay. Thanks for your help.

Back to comp.infosystems.www.authoring.html | Previous | NextPrevious 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