diff options
Diffstat (limited to 'include/unicode.h')
-rw-r--r-- | include/unicode.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/include/unicode.h b/include/unicode.h index 0a34ce3..4e5910a 100644 --- a/include/unicode.h +++ b/include/unicode.h @@ -1,2 +1,12 @@ -unsigned long utf8_strlen(char *string); -void utf8to32_strcpy(wchar_t *dest, char *src); +/* + * unicode.h + * + * Unicode - module with some helper unicode functions. + * + * SFML uses UTF32 encoding for texts and there is no need to use any full + * featured library just for a couple of encoding conversion functions. + * + * */ + +size_t utf8_strlen(char *string); +void utf8to32_strcpy(wchar_t *dest, char *src); |