Skip to content

Commit

Permalink
docs: fix simple typo, encounted -> encountered (JuliaStrings#201)
Browse files Browse the repository at this point in the history
There is a small typo in utf8proc.h.

Should read `encountered` rather than `encounted`.
  • Loading branch information
timgates42 authored Oct 9, 2020
1 parent 5622a0a commit 6f7d730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utf8proc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f7d730

Please sign in to comment.