]> granicus.if.org Git - icu/commitdiff
ICU-20518 update u_isbase() reference to Unicode Standard Base character
authorMarkus Scherer <markus.icu@gmail.com>
Fri, 30 Aug 2019 22:59:13 +0000 (15:59 -0700)
committerMarkus Scherer <markus.icu@gmail.com>
Sat, 31 Aug 2019 00:06:33 +0000 (17:06 -0700)
icu4c/source/common/unicode/uchar.h

index d70c964e38e5b85d51c9d299cd6fa866350e6cf2..87749cb5c717c2a8664915c32fa8042f8b1f7f6d 100644 (file)
@@ -3197,15 +3197,14 @@ U_STABLE UBool U_EXPORT2
 u_isprint(UChar32 c);
 
 /**
- * Determines whether the specified code point is a base character.
+ * Non-standard: Determines whether the specified code point is a base character.
  * True for general categories "L" (letters), "N" (numbers),
  * "Mc" (spacing combining marks), and "Me" (enclosing marks).
  *
- * Note that this is different from the Unicode definition in
- * chapter 3.5, conformance clause D13,
- * which defines base characters to be all characters (not Cn)
- * that do not graphically combine with preceding characters (M)
- * and that are neither control (Cc) or format (Cf) characters.
+ * Note that this is different from the Unicode Standard definition in
+ * chapter 3.6, conformance clause D51 “Base character”,
+ * which defines base characters as the code points with general categories
+ * Letter (L), Number (N), Punctuation (P), Symbol (S), or Space Separator (Zs).
  *
  * @param c the code point to be tested
  * @return TRUE if the code point is a base character according to this function