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 20672dba69bf463be22f6c9c216d858c9d116bb6
parent 0dc0fcf8db4ae2ff1971d4f0f86a2d83b14d863d
Author: Stefan Weil <sw@weilnetz.de>
Date:   Thu, 11 Jul 2019 20:04:34 +0200

Fix some typos (found by codespell) (#160)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat:
Mbench/icu.c | 2+-
Mbench/unistring.c | 2+-
Mdata/charwidths.jl | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bench/icu.c b/bench/icu.c @@ -41,7 +41,7 @@ int main(int argc, char **argv) /* ICU's insane normalization API requires you to know the size of the destination buffer in advance, - or alternatively to repeatly try normalizing and + or alternatively to repeatedly try normalizing and double the buffer size until it succeeds. Here, I just allocate a huge destination buffer to avoid the issue. */ UChar *udest = (UChar*) malloc(10*ulen * sizeof(UChar)); diff --git a/bench/unistring.c b/bench/unistring.c @@ -1,4 +1,4 @@ -/* comparitive benchmark of GNU libunistring */ +/* comparative benchmark of GNU libunistring */ #include <stdio.h> #include <stdlib.h> diff --git a/data/charwidths.jl b/data/charwidths.jl @@ -52,7 +52,7 @@ const UTF8PROC_CATEGORY_CO = 29 ############################################################################# # Use a default width of 1 for all character categories that are # letter/symbol/number-like, as well as for unassigned/private-use chars. -# This can be overriden by UAX 11 +# This can be overridden by UAX 11 # below, but provides a useful nonzero fallback for new codepoints when # a new Unicode version has been released but Unifont hasn't been updated yet.