File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ simple C library for working with UTF-8 encoded strings
1818## 🧑💻 Usage example
1919
2020``` c
21- #include < stdio.h>
2221#include " utf8.h"
22+ #include < stdio.h>
2323
2424int main () {
2525 const char* str = "Hello, こんにちは, Здравствуйте";
Original file line number Diff line number Diff line change 11#include "utf8.h"
22
3- #include <stdio.h>
43#include <assert.h>
4+ #include <stdio.h>
55#include <string.h>
66
77// english characters are 1 byte each
Original file line number Diff line number Diff line change 33 * @brief simple library for working with UTF-8 encoded strings
44 *
55 * @code
6- * #include <stdio.h>
76 * #include "utf8.h"
7+ * #include <stdio.h>
88 *
99 * int main() {
1010 * const char* str = "Hello, こんにちは, Здравствуйте";
3030#define ZAHASH_UTF8_H
3131
3232#include <stdbool.h>
33- #include <stdint.h>
3433#include <stddef.h>
34+ #include <stdint.h>
3535
3636/**
3737 * @brief Represents the validity of a UTF-8 encoded string.
You can’t perform that action at this time.
0 commit comments