summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2017-11-18 23:16:00 +0100
committerBruno Haible <bruno@clisp.org>2017-11-18 23:16:00 +0100
commit4e49b798264d01433f64137fb525f507778fb781 (patch)
tree65c3af37fb9b47f1f2b64ea87bfdcbe01f375536
parent6008f2010f9c191150de5b7eee9eee489b39bba9 (diff)
downloadlibunistring-4e49b798264d01433f64137fb525f507778fb781.tar.gz
Clarify the effect of uc_canonical_decomposition.
Prompted by a report by DaeHyun Sung <sungdh86@gmail.com>. * doc/uninorm.texi (Decomposition of characters): Clarify. * doc/libunistring.texi: Bump copyright year.
-rw-r--r--ChangeLog7
-rw-r--r--doc/libunistring.texi4
-rw-r--r--doc/uninorm.texi5
3 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index f2e4563..fea8295 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-11-18 Bruno Haible <bruno@clisp.org>
+
+ Clarify the effect of uc_canonical_decomposition.
+ Prompted by a report by DaeHyun Sung <sungdh86@gmail.com>.
+ * doc/uninorm.texi (Decomposition of characters): Clarify.
+ * doc/libunistring.texi: Bump copyright year.
+
2017-10-21 Bruno Haible <bruno@clisp.org>
Upgrade to newer libtool.
diff --git a/doc/libunistring.texi b/doc/libunistring.texi
index 43a6ba5..a9c7e0f 100644
--- a/doc/libunistring.texi
+++ b/doc/libunistring.texi
@@ -86,7 +86,7 @@ This manual is for GNU libunistring.
@ignore
@c This was: @copying but it triggers a makeinfo 4.13 bug
-Copyright (C) 2001-2016 Free Software Foundation, Inc.
+Copyright (C) 2001-2017 Free Software Foundation, Inc.
This manual is free documentation. It is dually licensed under the
GNU FDL and the GNU GPL. This means that you can redistribute this
@@ -118,7 +118,7 @@ A copy of the license is included in @ref{GNU GPL}.
@page
@vskip 0pt plus 1filll
@c @insertcopying
-Copyright (C) 2001-2016 Free Software Foundation, Inc.
+Copyright (C) 2001-2017 Free Software Foundation, Inc.
This manual is free documentation. It is dually licensed under the
GNU FDL and the GNU GPL. This means that you can redistribute this
diff --git a/doc/uninorm.texi b/doc/uninorm.texi
index 6797fe8..5cad859 100644
--- a/doc/uninorm.texi
+++ b/doc/uninorm.texi
@@ -133,6 +133,11 @@ Returns the canonical character decomposition mapping of the Unicode character
When a decomposition exists, @code{@var{decomposition}[0..@var{n}-1]} is filled
and @var{n} is returned. Otherwise -1 is returned.
+
+Note: This function returns the (simple) ``canonical decomposition'' of
+@var{uc}. If you want the ``full canonical decomposition'' of @var{uc},
+that is, the recursive application of ``canonical decomposition'', use the
+function @code{u*_normalize} with argument @code{UNINORM_NFD} instead.
@end deftypefun
@node Composition of characters