News for hackers. Stuff that matters.
Re:Text Editing Hates You Too by dfcowell on Tuesday October 29, 2019 @03:33AM (#21384873)
There are no spaces between words in Chinese or Japanese.

Pressing space confirms the current selection in the Japanese IME, which is expected behavior. Where some Linux implementations get it wrong is they also insert a space after the word, meaning the user has to select the desired word in the IME with the space bar and then remove the erroneous inserted space.

Edit: Correction based on feedback below. Previously stated that Hangul does not have spaces.

Re:Text Editing Hates You Too by jfk13 on Tuesday October 29, 2019 @04:38AM (#21385140)
No, Korean is normally written with spaces between words nowadays (perhaps that wasn't always the case?).

https://www.omniglot.com/writing/korean.htm

Re:Text Editing Hates You Too by tasogare on Tuesday October 29, 2019 @04:36AM (#21385130)
> There are no spaces between words in Hangul

Wrong, there are spaces between words in Korean. It’s in Japanese and Chinese that there isn’t. And in Vietnamese there are spaces between everyone syllables, even in words.

Re:Text Editing Hates You Too by dfcowell on Tuesday October 29, 2019 @04:56AM (#21385204)
Thanks for the fact check.

Not sure your comment on Vietnamese is accurate though. I work in a company with ~35% native Vietnamese speakers and I’ve seen plenty of multi-syllable words.

Are you talking about traditional Vietnamese (when it still used Chinese characters) or modern Vietnamese (post-French-colonialism) which uses the Latin alphabet with accents?

Re:Text Editing Hates You Too by gdx on Tuesday October 29, 2019 @06:10AM (#21385521)
It is accurate, there are spaces between each syllable in modern written Vietnamese, except in foreign words. The syllables can have as many as 7 characters, and you need an IME to type the tone marks. The written language looks like this: https://vi.wikipedia.org/wiki/Vi%E1%BB%87t_Nam
Re:Text Editing Hates You Too by dfcowell on Tuesday October 29, 2019 @06:53AM (#21385699)
Wow, you’re right.

I never noticed (even while studying the basics myself) that syllables are space-separated.

I always saw the words (e.g. “thanh pho” = city - don’t have the keyboard on my phone) as independent units. Didn’t even recognize the spaces.

Amazing how something can be right in front of you without noticing it.

So much makes sense now. Thanks again.

Re:Text Editing Hates You Too by hsivonen on Tuesday October 29, 2019 @10:30AM (#21387537)
> you need an IME to type the tone marks

The standard Vietnamese keyboard layout works without an IME layer. However, apparently most people who write Vietnamese _prefer_ to use an IME.

Re:Text Editing Hates You Too by bicolao on Tuesday October 29, 2019 @04:53AM (#21385189)
Vietnamese does not really belong in CJK group because it's written with Latin alphabet.
Re:Text Editing Hates You Too by tasogare on Tuesday October 29, 2019 @12:57PM (#21389355)
That was not my point. I mentioned Vietnamese because the spacing it uses is interesting.

Also like dfcowell said, Vietnamese used to be written with han & chu nôm characters (respectively Chinese characters and Chinese-like characters created by Vietnamese), a lot of which are encoded in Unicode. Hence the existence of the CJKV acronym.

Re:Text Editing Hates You Too by kevin_thibedeau on Tuesday October 29, 2019 @05:58PM (#21392538)
It is actually CJKV to deal with historical Vietnamese.

From Unicode spec:

> Although the term “CJK”—Chinese, Japanese, and Korean is used throughout this text to describe the languages that currently use Han ideographic characters, it should be noted that earlier Vietnamese writing systems were based on Han ideographs. Consequently, the term “CJKV” would be more accurate in a historical sense. Han ideographs are still used for historical, religious, and pedagogical purposes in Vietnam.

Re:Text Editing Hates You Too by dfcowell on Tuesday October 29, 2019 @04:57AM (#21385208)
Traditional Vietnamese (before French colonialism) used Chinese characters.