by rodelrod · 4y ago · 0 comments
This has been a problem since the typewriter age. People having to get on with their jobs coped with it by using a full, breaking em-space. Unless this gets replaced automatically by the word processor, you get horrid typography and misplaced line breaks all over the place.
The Académie Française should have dealt with this years ago, if their ass wasn't stuck in the 17th century.
But honestly, rather than changing keyboards (which is hard), why doesn't Google just pick a shorthand that doesn't break typography rules, like `@` instead of `:`
If triggering it by accident wasn't intended, they could have used a regular keyboard shortcut like Alt+Shift+E or even instruct users to press Win+. to use the system-wide emoji menu.
But I agree that we need to make several alternative space characters easy to type:
- non-breaking space (for this French rule)
- wide space (for disambiguating sentence
ending periods from non-sentence-ending
periods)
- zero-width non-breaking space (for
preventing word-splitting?)> Why should we change language to appease lazy software developers?
It's been done.
For example, in Spanish it is no longer the rule that "ch" and "ll" sort as if they were distinct letters (this change was made in 2010) precisely because that was such a difficult rule to implement. And that was a 256 year-old rule per-wikipedia:
The digraphs "ch" and "ll" were
considered single letters of the
alphabet from 1754 to 2010 (and
sorted separately from "c" and "l"
from 1803 to 1994).
For another example, in Spanish capital letters were required to not carry accents, but now they are allowed to not carry accents. This was due to the use of overstriking on typewriters working to accent lower-case letters but not upper-case letters (apostrophe would collide with the glyphs for upper-case vowels). But the technology to resolve this has existed in the Spanish-speaking world for a long time now, so the rule was finally dropped. (Not accenting upper-case letter can lead to ambiguities that are annoying.)It's not just precedent. It's that the original reason for some typographic (not even orthographic) rule is simply not relevant in 2022.
And it's not unreasonable for either French people, non-French French speakers, or just non-French French-non-users to propose the ditching of hard-to-implement French rules. Now, this particular rule is decidedly not difficult to implement, but it is an annoying rule to apply as a user -- I should know, since I speak and write French (though I am not French).
Also, it doesn't matter what the French Academy says, or what the Spanish Royal Academy says, or what Webster's dictionary says, or whatever. Language evolves, even to their consternation. Moreover, developers don't have to care that much -- I18N/G11N is fun enough, and employers have to care for legal reasons, but rules like the Spanish ch/ll rule can be much too hard even for non-lazy developers, and the Royal Spanish Academy can and did have to change, and it was for the better.
>A modern solution is simply to have non-breaking space easily accessible in your keyboard layout
An even better solution would be --for grown up people who have progressed beyond cave-painting and want to communicate using, you know, actual words-- to be able to disable emojis completely.Fucking moronic shite that they are. I've seen people on Twatter and FB have entire conversations in bloody emojis. Talk about reverse evolution! Why don't we just go back to grunting and gesturing and have done with it?
Certainly more useful than the requirement to put a space before a colon, non breaking or not.
My god! --you're right. This is so much better and clearer than using those boring old fashioned words.
It looks like this rule is based on old typographic considerations. Much like the Spanish Royal Academy's rule that capitalized letters carry no accents (unlike the opposite French rule that capitalized letters do carry accents!), which stems from typewriters not having accented letters, so one would type a vowel, backspace, then an apostrophe to make an accented vowel, but for capitals there's not enough space so you couldn't and wouldn't overstrike them.
Users and language academies should distinguish typographic from non-typographic language rules, and typographic rules should be context-specific (well technology-specific, since technology is the context).
No human language on Earth is in a position where it can laughs at others for their idiomatisms.
English
that person was wrong. :P
"some-chars" + <whitespace> + ":"
must be treated as a single word in French.
(I guess it's more complicated than I imagine it is, alright)
The former is easy enough, but also very annoying to multilingual people since one might run in a Spanish locale but occasionally write in French. So that's not a solution.
The latter is... hard to do, because while Unicode has language tags that you can embed in documents, those are deprecated and they were never well supported, and so there's no way to mark-up text as being in one language or another, and a document-wide setting wouldn't be enough nor sufficiently generic and standard and portable.
The best solution here is to relax the French typographic rule (since it isn't needed anymore). But that would take time to filter through to French speakers (writers, and readers) so that they learn to not put that pesky space before punctuation, but also so that they don't complain when it's missing.
Or... you know, this business of emoji pickers could be something you could turn off. Nahhh, that would never fly! (/s)
Huh? MDN doesn’t mention this … why are they deprecated?
IMO we should have tried harder to make Unicode language tags useful and used. But it didn't happen, so they're a thing of the past. Of course, they're still there, and one could attempt to resurrect them, but most likely one would fail.
Choice quotes below:
https://www.rfc-editor.org/rfc/rfc6082
> RFC 2482, "Language Tagging in Unicode Plain
> Text" [RFC2482], describes a mechanism
> for using special Unicode language tag
> characters to identify languages when needed.
> It is an idea whose time never quite came.
> It has been superseded by whole-transaction
> language identification such as the MIME
> Content-language header [RFC3282] and more
> general markup mechanisms such as those
> provided by XML. The Unicode Consortium
> has deprecated the language tag character
> facility and strongly recommends against
> its use. RFC 2482 has been moved to
> Historic status to reduce the possibility
> that Internet implementers would consider
> that tagging system an appropriate mechanism
> for identifying languages.
>
> A discussion of the status of the language tag
> characters and their applicability appears
> in Section 16.9 of The Unicode Standard
> [Unicode52].
https://www.unicode.org/versions/Unicode5.2.0/ch16.pdf (section 9 of that chapter, 16) > 16.9 Deprecated Tag Characters 519 The Unicode
> Standard, Version 5.2 Copyright © 1991–2009
> Unicode, Inc. for detailed recommendations
> on the use of U+FFFD as replacement for
> ill-formed sequences. See also Section 5.3,
> Unknown and Missing Characters for related
> topics. 16.9 Deprecated Tag Characters
> Deprecated Tag Characters: U+E0000–U+E007F
> The characters in this block provide a
> mechanism for language tagging in Unicode
> plain text. These characters are deprecated,
> and should not be used—particularly with any
> protocols that provide alternate means of
> language tagging. The Unicode Standard recom-
> mends the use of higher-level protocols, such as
> HTML or XML, which provide for language tagging
> via markup. See Unicode Technical Report #20,
> “Unicode in XML and Other Markup Languages.”
> The requirement for language information embedded
> in plain text data is often overstated, and
> markup or other rich text mechanisms constitute
> best current practice. See Section 5.10,
> Language Information in Plain Text for further
> discussion.
(Reformatting is mine.)This stuff should just stop. Operating Systems / Browser vendors should instead standardize on a hotkey to bring up an emoji selector that steals focus to filter via typing and inserts on enter key.
I'd be surprised MS Word doesn't do the same. No need for a "true" typesetting solution.
And another "US English" centered thing; spacing does not really matter in English, but can have functional differences in other languages and scripts.
https://www.youtube.com/watch?v=2yWWFLI5kFU is a fun look at one of the problems with Unicode in general.
Did the 646 standard account for variable-width characters at all?
What are the actual official rules in this case (and are there links to those? Because that'd be fascinating information to read through)?
Actually before the ":" specifically there should be a regular non-breaking space, not a narrow one. Except in Switzerland. Other punctuation marks take the narrow non-breaking space.
I just tested with `setxkmap fr`. These are not shifted:
:!;
Only this requires Shift: ?
Also French layouts use an inverted number row (although none of those are accessed through that row).In fact, french standard body AFNOR actually updated their AZERTY layout standard three years ago to include more characters, including the narrow non-breaking space. In traditional ISO-like fashion, one must pay to access this standard, but you can find an example here:
https://commons.wikimedia.org/wiki/File:KB_-_AZERTY_-_AFNOR....
It's mapped to AltGr + Maj + Space. Now you just need to find how to install/enable this layout on the platforms you care about.
This is the best reference I could find: https://www.lalanguefrancaise.com/articles/espace-insecable