News for hackers. Stuff that matters.
Re:UTF-8 Everywhere by dpc_pw on Tuesday April 14, 2020 @12:59PM (#22868373)
> For instance, ‘ch’ is two letters in English and Latin, but considered to be one letter in Czech and Slovak.

Is "ch" really considered one _character_ in Czech and Slovak? I'm Polish and we do have "ch" and consider it one ... sound... represented by two letters? I mean... if you asked anyone to count letters/characters in a word, they would count "ch" as two. So I wonder if that's different in Slovakia or Chech Republic, or is just my definition of "character" wrong.

Re:UTF-8 Everywhere by masklinn on Tuesday April 14, 2020 @02:13PM (#22869410)
> So I wonder if that's different in Slovakia or Chech Republic, or is just my definition of "character" wrong.

According to wikipedia, "Ch" is a character of the Czech alphabet in the sense that it impacts alphabetical ordering ("Ch" sorts between H and I), in the same way Ł or Ę are apparently characters from the Polish alphabet distinct from L and E respectively (wikipedia mentions that "być comes after bycie").

That is unlike, say, french where É and E are the same character alphabetically.

[0] https://en.wikipedia.org/wiki/Czech_orthography

Re:UTF-8 Everywhere by mlj45 on Tuesday April 14, 2020 @01:38PM (#22868918)
This depends on your definition of informal terms like "letter", "character" etc.

The typographic term for combinations like this is "digraph". (Wikipedia's definition: "A digraph [...] is a pair of characters used in the orthography of a language to write either a single phoneme [...] or a sequence of phonemes that does not correspond to the normal values of the two characters combined".)

Whether digraphs have separate keys on a keyboard, are treated as distinct for the purposes of alphabetisation, whether speakers of the language think of them as separate "letters" when spelling out a word and so on, are all separate issues and varies between languages (or, more precisely, between the conventions for writing a certain language).

Re:UTF-8 Everywhere by Svip on Tuesday April 14, 2020 @01:05PM (#22868467)
A better example would probably be "ij" in Dutch. That's definitely considered a single letter, as words starting with ij in Dutch are capitalised IJ. Though there are glyphs for IJ /ij already in unicode.
Re:UTF-8 Everywhere by mercer on Tuesday April 14, 2020 @01:22PM (#22868683)
"Ij" is also one sounds represented bij two letters, and I think capitalizing just the 'I' is pretty standard. As a Dutch person myself, I didn't even know that there's a glyph for it!

We also have "ei", which sounds the same and was invented to annoy people learning Dutch. Then there's "oe", "eu", "ui". And just to fuck even more with people learning the language, we have "au" and "ou" which also sound the same. Oh, and "ch" and "g".

Hans Brinker, the inventor of the Dutch language, famously would toss a florijn to decide between using ei/ij and au/ou, as he was not fond of foreigners. He's mostly known for saving our country though when he plugged a hole in a dyke with his finger (yes, I know what you're thinking, and no, we do not appreciate your dirty minds making light of this heroic act).

Re:UTF-8 Everywhere by unwind on Tuesday April 14, 2020 @02:36PM (#22869717)
Spelling it "dike" helps keep people's minds on the right thing. :)
Re:UTF-8 Everywhere by samatman on Tuesday April 14, 2020 @05:42PM (#22871842)
If you spell it "dijk" it's even less racy, because it's no longer a four-letter word.
Re:UTF-8 Everywhere by mercer on Tuesday April 14, 2020 @03:28PM (#22870374)
Well shit. Guess I'll have to clean out my mind with some soap...
Re:UTF-8 Everywhere by akie on Tuesday April 14, 2020 @02:46PM (#22869847)
As a Dutch person myself, capitalizing just the I and not the J hurts my eyes. Ijsselmeer or IJsselmeer?
Re:UTF-8 Everywhere by mercer on Tuesday April 14, 2020 @03:27PM (#22870362)
Interesting. I never really gave it much thought, but Ij actually bothers me so much that I usually try to avoid using it at the beginning of a sentence, and I cringe when I need to capitalize because it's a place (like Ijsselmeer).

Just did some googling. Turns out that unlike the other combinations, capitalizing both letters is mandatory for 'IJ'. TIL...

Re:UTF-8 Everywhere by alexis_fr on Tuesday April 14, 2020 @03:58PM (#22870693)
Same as OE/Œ in French, then.
Re:UTF-8 Everywhere by bartwe on Tuesday April 14, 2020 @01:17PM (#22868615)
Nobody has that as a letter on the keyboard here though, so it doesn't matter. Normally typed as a digraph. Would be nice if we just switched over to using y at this point. Makes me wonder, is the use of diacritics reducing since ascii keyboards became the norm ?
Re:UTF-8 Everywhere by kosievdmerwe on Tuesday April 14, 2020 @01:51PM (#22869090)
Afrikaans did this. We use "y" instead of "ij".
Re:UTF-8 Everywhere by roelschroeven on Tuesday April 14, 2020 @02:44PM (#22869820)
"ij" is sometimes considered a single letter, but certainly not always. Quoting Wikipedia (https://en.wikipedia.org/wiki/IJ_(digraph)):

"IJ (lowercase ij; Dutch pronunciation: [ɛi]) is a digraph of the letters i and j. Occurring in the Dutch language, it is sometimes considered a ligature, or a letter in itself. In most fonts that have a separate character for ij, the two composing parts are not connected but are separate glyphs, which are sometimes slightly kerned."

(and equivalent in the Dutch Wikipedia article)

Re:UTF-8 Everywhere by masklinn on Tuesday April 14, 2020 @02:16PM (#22869451)
I don't know that that's correct. That there exists a ligature character doesn't mean the ligature is a character of the language.

It could, mind, I don't know dutch. But in french "œ" (which has a ligatured character as you can see) is canonically equivalent to "oe". It is not a separate letter of the alphabet even though:

* many words should not be written with the ligatured form

* many words should be written with the ligatured form

* it has a different pronunciation than the base form

Re:UTF-8 Everywhere by andy_wrote on Tuesday April 14, 2020 @02:01PM (#22869249)
Based on my experience learning Czech (not native at all, just interested):

- it's typically listed as a separate letter when writing out the alphabet

- but in practice it's typed out as "c h" and not as a single character

- it occupies its own place in Czech standard alphabetical order, my English-Czech dictionary has all the "ch" words after "h" (so interestingly in order to do a proper sort programmatically you need to possibly look 2 characters ahead)

Re:UTF-8 Everywhere by zajio1am on Wednesday April 15, 2020 @06:55AM (#22876339)
A a native Czech speaker, i never really understood what it means that 'ch' is one letter in Czech. It is clearly two graphemes representing one phoneme, so one could think it is a digraph, but it has some special properties like being one element in collating order. I think people just started to call it one letter to have one-letter-one-sound property.
Re:UTF-8 Everywhere by pilsetnieks on Tuesday April 14, 2020 @01:33PM (#22868850)
At first I though they simply mean the letter "č" but no, it turns out that "ch" (and also "dz") is a digraph with a separate place in Czech and Slovak alphabets.
Re:UTF-8 Everywhere by enedil on Tuesday April 14, 2020 @01:24PM (#22868723)
Yeah, but in Czech it's "č".
Re:UTF-8 Everywhere by pilsetnieks on Tuesday April 14, 2020 @01:35PM (#22868881)
No. Č is something else, ch is a digraph that's pronounced differently. Take a look at Czech and Slovak alphabets specifically:

https://en.wikipedia.org/wiki/Czech_orthography

https://en.wikipedia.org/wiki/Slovak_orthography

Re:UTF-8 Everywhere by enedil on Tuesday April 14, 2020 @01:47PM (#22869022)
I'm Polish and I have just tangential knowledge of Czech language. Sorry for confusion.