Repository navigation
Description
There's for U+00A0. It's a full-width no-break space. It can be used between numbers and their short unit names, or in other places.
Typography and regional norms require (or at least recommend) using a thin no-brak space (or narrow no-break space) in several places:
- As thousands separator, Source or DIN 5008 (to avoid ambiguous presentation of point or comma)
- Between abbreviated words like “z. B.” (German: zum Beispiel), Source
- As fine space before certain punctuation in French, Source
(These are the first and best sources I could find now. There may be better or more authoritative sources available, but they're usually hard to find.)
While it is technically possible to create a keyboard layout that produces this character, not many users have this installed and even then it's hard to distinguish it from other space characters when reading and revising text. Most editors don't even show a replacement symbol for this space character.
AFAIK Wikipedia suggests writing in these places. And that's probably a good idea in team projects as well. But this is actually the wrong character in these places.
To use the correct narrow no-break space, one has to use a different HTML entity representation, like   or   which are frankly hard to remember or recognise.
As a solution, the new entity &nnbsp; should be added to HTML to make it easy to write readable text following the correct typographic rules and recommendations.
Activity
kosek commentedon Dec 18, 2019
If new entity will be added effort should be coordinated with MathML to keep entity definitions synchronized -- https://w3c.github.io/xml-entities/
ygoe commentedon Jun 7, 2020
Mozilla is not interested in this. I guess that's a bad starting point already? I don't have the best experiences with the Chrome developers, maybe I'll try it there anyway.
Unfortunately, entities is something that's not extensible in HTML, so I can't even run my own little happy solution.
Celdron commentedon Aug 10, 2020
If HTML standard evolves, Mozilla, and others, must follow the new specifications, that's an evidence.
I'm currently interested about having
&nnbsp;, or equal, entity for a French wiki project, as narrow non-breaking space is recommended in some cases, as explained by ygoe.Futhermore, HTML entities exist for a numerous characters, in my opinions, almost never used, like
≺and such.r12a commentedon Aug 11, 2020
In my opinion this would be extremely useful for French authors, but also for other languages. The NNBSP character was initially added to Unicode for Mongolian suffix handling, where it is important to visually distinguish between spaces separating suffixes and those separating words. It is also being proposed as an ideal fit for a morphological separator in the numerous languages written in the Canadian Aboriginal script (see w3c/amlreq#4). An entity would significantly help authors produce correct (and better machine-readable) text in all these languages.
[@annevk could you add i18n-mlreq and i18n-amlreq labels to the repo, so i can alert those folks to the discussion? Thanks.]
Here is an extension of this issue, which i can raise in a new issue if preferred.
There are other invisible characters for which a named character reference would be very useful for producing correctly authored Unicode text, for the same reasons as mentioned in the first comment. Here, for example, is a list of formatting characters used for Arabic, but most are essential characters for all RTL script-based languages.
Characters with entities:
Characters without entities:
RLI
LRI
FSI
PDI
RLE
LRE
PDF
RLM
LRM
CGJ
ALM
Keyboards generally don't address the problem of inputting the characters, but it's also a problem that the characters themselves are invisible. It would really help to have Named character references. As someone who works with people who use these languages, and works with them myself, it seems to me that from a user's perspective it would be well worth the effort to add them. I don't remember why that hasn't happened before now.
annevk commentedon Aug 14, 2020
xfq commentedon Aug 15, 2020
hsivonen commentedon Oct 30, 2020
I believe I've commented previously along the following lines when this has come up:
annevk commentedon Oct 30, 2020
Curious to hear what others think, but I tend to agree. Perhaps the best course of action here would be to update https://github.com/whatwg/html/blob/master/FAQ.md and close these type of feature requests.
15 remaining items
Crissov commentedon Dec 14, 2023
What exactly is the I18N proposal to be discussed?
Introduce named character references for …
aphillips commentedon Dec 14, 2023
@annevk
Thanks! Let's look for a suitable time slot. I'm not familiar with HTML's call schedule. Would it be possible to do a week later (assuming you have calls weekly??) such as the 18th? That way we could include @r12a, who has previously contributed on this thread. We can also host you in our regular call (Thursdays at 7 AM Pacific)
@Crissov
We would like to discuss the possibility of additions of this type in general. We have specific existing non-spacing characters and, it appears, perhaps a few specific whitespace characters in mind. Obviously, if we "broke the dam" on additions, there is also the question of establishing criteria for any future additions. We do not propose to add named entities in a broad or general sense.
ygoe commentedon Dec 14, 2023
Maybe, what sets this one apart from others is that it's invisible. You could potentially use smart input methods to generate just about any visible character and anybody else reading the document would see it. Of course you can also use smart input methods to generate special white-space characters (like I do with my modified keyboard layout), but the problem is that other people editing the document likely won't see it if they're not familiar with the various spaces and have the tools to see them. So to be safe, it could be a good solution to use a presentation that makes it visible.
is already widely used in Wikipedia content, for example.So if you're looking for criteria, this might be one. 🙂
annevk commentedon Dec 15, 2023
@aphillips for that time slot the next one is Feb 22. There are two other meetings, but one is not useful for Europe and one is not useful for the US. Getting WHATNOT participants to join another meeting could maybe work, but it probably requires explicitly pinging some people and making sure they can all make it which is not work I can sign up for right now. Maybe next year.
aphillips commentedon Dec 15, 2023
@annevk Thanks. This isn't urgent, so let's go for February? Thinking aloud, perhaps we (meaning me) should make a list of I18N issues that could use attention ahead of time and we can have a section of the call for I18N?
annevk commentedon Dec 15, 2023
Sounds good to me!
[-]Add &nnbsp; entity for U+202F[/-][+]Add more HTML entities (please see FAQ)[/+]spixi commentedon Oct 14, 2025
@annevk
Thank you for merging my proposal with this issue.
&Szlig;is special, because the lower caseßalready exists and there is no logical reason, why the uppercase letter should not have its own named entity.