Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajasharan/unicode-utility
UTF-8 string utility functions in C
https://github.com/rajasharan/unicode-utility
Last synced: 3 days ago
JSON representation
UTF-8 string utility functions in C
- Host: GitHub
- URL: https://github.com/rajasharan/unicode-utility
- Owner: rajasharan
- Created: 2012-03-19T01:06:06.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-03-25T09:22:36.000Z (over 12 years ago)
- Last Synced: 2023-03-12T06:04:05.964Z (over 1 year ago)
- Language: C
- Homepage:
- Size: 97.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Unicode (UTF-8) utility functions
=================================```C
/*
* return: length of string utf
* 0: if empty string
* -1: if utf is NULL pointer
*/
int u_strlen(char *utf);
``````C
/*
* return: number of bytes of first character starting at utf
* 0: if not a utf character code
* -1: if null character
*/
int u_ischar(char *utf);
```Run tests
---------make test