git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Unicode: update of combining code points

From
Peter Krefting <peter@softwolves.pp.se>
Date
Apr 24, 2014, 09:02 UTC
Message-ID
<alpine.DEB.2.00.1404240949440.28469@ds9.cixit.se>
In-Reply-To
<534E0B84.6070602@web.de>
Torsten Bögershausen:
> Some of the code points which have "0 length on the display" are called
> "combining", others are called "vowels" or "accents".
> E.g. 5BF is not marked any of them, but if you look at the glyph, it should
> be combining (please correct me if that is wrong).

All combining characters has a non-zero combining class in http://www.unicode.org/Public/UNIDATA/UnicodeData.txt (fourth field, called Canonical_Combining_Class in http://www.unicode.org/reports/tr44/ ). For instance, the aforementioned U+05BF is defined as follows:

   05BF;HEBREW POINT RAFE;Mn;23;NSM;;;;;N;;;;;
The combining class is 23, so this is a combining character.

There is a difference between non-spacing combining marks ("Mn" in the third column (General_Category)) and others ("Mc" for spacing marks and "Me" for enclosing marks), so they might need specifial handling. Additionally, you have the "zero-width" characters, such as U+200B Zero Width Space. These have the "Cf" class, although it also contains visible characters IIRC.

-- 
\\// Peter - http://www.softwolves.pp.se/
Previous: Kevin Bracey
Message 7 of 7 in “Unicode: update of combining code points”
  1. Unicode: update of combining code pointsTorsten Bögershausen, Apr 7, 2014
  2. Peter KreftingApr 15, 2014
  3. Torsten BögershausenApr 16, 2014
  4. Kevin BraceyApr 16, 2014
  5. Torsten BögershausenApr 16, 2014
  6. Kevin BraceyApr 17, 2014
  7. Peter KreftingApr 24, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.