forked from JulienPalard/is_utf8
-
Notifications
You must be signed in to change notification settings - Fork 0
trousev/is_utf8
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
is_utf8 is a program and a c library to check if a given string is a valid utf-8 one. To compile (The program and the lib) : $ make To run : $ ./is_utf8 $'\xe9' && echo OK || echo KO The lib and the program will return 0 (Success) if the sequence is a valid utf-8 string. Else they will return the byte, starting from one, where the error was encontred.
About
Check if a given string is a valid utf-8 string.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C 84.0%
- Shell 16.0%