docs: fix simple typo, encounted -> encountered (#201)

There is a small typo in utf8proc.h.

Should read `encountered` rather than `encounted`.
This commit is contained in:
Tim Gates 2020-10-09 23:30:50 +11:00 committed by GitHub
parent 5622a0a51b
commit 6f7d73071a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -502,7 +502,7 @@ UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_decompose_char(
* string and orders the decomposed sequences correctly.
*
* If the @ref UTF8PROC_NULLTERM flag in `options` is set, processing
* will be stopped, when a NULL byte is encounted, otherwise `strlen`
* will be stopped, when a NULL byte is encountered, otherwise `strlen`
* bytes are processed. The result (in the form of 32-bit unicode
* codepoints) is written into the buffer being pointed to by
* `buffer` (which must contain at least `bufsize` entries). In case of