Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | utf8: introduce git_utf8_char_length | Edward Thomson | 2021-04-14 | 1 | -0/+20 |
| | | | | | Introduce a function to determine the number of Unicode characters in a given UTF-8 string. | ||||
* | utf8: refactor utf8 functions | Edward Thomson | 2021-04-14 | 1 | -0/+32 |
Move the utf8 functions into a proper namespace `git_utf8` instead of being in the namespaceless `git__` function group. Update them to have out-params first and use `char *` instead of `uint8_t *` to match our API treating strings as `char *` (even if they truly contain `uchar`s inside). |