utf8proc

A clean C library for processing UTF-8 Unicode data
git clone https://git.sinitax.com/juliastrings/utf8proc
Log | Files | Refs | README | LICENSE | sfeed.txt

commit 86447ad060d6f4edf01f2a64b9598dfeeb6e6f7d
parent 4f70bbe78033345e575c425c822ca53b23403fcb
Author: Steven G. Johnson <stevenj@alum.mit.edu>
Date:   Sun, 14 Dec 2014 09:01:14 -0500

rm note about obsolete grapheme rules from README, clean up test output

Diffstat:
MREADME.md | 4+---
Mgraphemetest.c | 1-
2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/README.md b/README.md @@ -41,9 +41,7 @@ The C library is found in this directory after successful compilation and is named `libmojibake.a` (for the static library) and `libmojibake.so` (for the dynamic library). -The Unicode version being supported is 7.0.0. (Grapheme segmentation -is currently based on version 4.1.0 of Unicode Standard Annex #29, but -we hope to update this soon.) +The Unicode version being supported is 7.0.0. For Unicode normalizations, the following options are used: diff --git a/graphemetest.c b/graphemetest.c @@ -60,7 +60,6 @@ int main(void) for (i = 0; i <= glen; ++i) if (g[i] == 0xff) g[i] = '/'; /* easier-to-read output (/ is not in test strings) */ - printf("line %zd\n", lineno); check(!strcmp((char*)g, (char*)src), "grapheme mismatch: \"%s\" instead of \"%s\"", (char*)g, (char*)src); }