Differences From Artifact [d669b9c0c5]:
- File src/OFString.h — part of check-in [0ea758cd9c] at 2009-07-20 18:39:51 on branch trunk — Add support for C strings encoded in ISO 8859-15. (user: js, size: 7462) [annotate] [blame] [check-ins using]
To Artifact [070cca9ea4]:
- File src/OFString.h — part of check-in [e04c359780] at 2009-07-20 23:20:26 on branch trunk — Add support for C strings encoded in Windows-1252. (user: js, size: 7495) [annotate] [blame] [check-ins using]
︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | + | #import "OFObject.h" #import "OFArray.h" enum of_string_encoding { OF_STRING_ENCODING_UTF_8, OF_STRING_ENCODING_ISO_8859_1, OF_STRING_ENCODING_ISO_8859_15, OF_STRING_ENCODING_WINDOWS_1252 }; extern int of_string_check_utf8(const char*, size_t); extern size_t of_string_unicode_to_utf8(uint32_t, char*); /** * A class for managing strings. |
︙ |