libgrapheme

Freestanding C library for unicode string handling
git clone https://git.sinitax.com/suckless/libgrapheme
Log | Files | Refs | README | LICENSE | sfeed.txt

commit cdaeb8c0b808cd3f708f2cefd62d767ee82144ef
parent 94fb8dc7588eb4ee563f5a4c888fcd65a8497834
Author: Laslo Hunhold <dev@frign.de>
Date:   Sat, 17 Oct 2020 18:21:10 +0200

Fix two small mistakes in libgrapheme.7

Thanks Silvan for reporting them and Greg for providing some
native speaker input!

Signed-off-by: Laslo Hunhold <dev@frign.de>

Diffstat:
Mman/libgrapheme.7 | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/libgrapheme.7 b/man/libgrapheme.7 @@ -97,7 +97,7 @@ expanded since its first introduction (emojis, joiners, etc.). A sequence this way and represents an abstract character is called a .Dq grapheme cluster . .Pp -In many applications, it is necessary to count the number of +In many applications it is necessary to count the number of user-perceived characters, i.e. grapheme clusters, in a string. This is pretty simple with ASCII-strings, where you just count the number of bytes (as each byte is a code point and each code point is a grapheme @@ -117,7 +117,7 @@ is continued between two code points. Libraries like ICU, which also offer this functionality, are often bloated, not correct, difficult to use or not statically linkable. The motivation behind .Nm -is to make grapheme cluster handling suck less and abide the UNIX +is to make grapheme cluster handling suck less and abide by the UNIX philosophy. .Sh AUTHORS .An Laslo Hunhold Aq Mt dev@frign.de