20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
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.
*/
@interface OFString: OFObject <OFCopying, OFMutableCopying>
{
char *string;
|
>
>
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
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*);
extern size_t of_string_position_to_index(const char*, size_t);
extern size_t of_string_index_to_position(const char*, size_t, size_t);
/**
* A class for managing strings.
*/
@interface OFString: OFObject <OFCopying, OFMutableCopying>
{
char *string;
|