utf8.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23233 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -10,6 +10,8 @@ HEIMDAL_WIND_1.0 {
|
|||||||
wind_ucs4utf8;
|
wind_ucs4utf8;
|
||||||
wind_ucs4utf8_length;
|
wind_ucs4utf8_length;
|
||||||
wind_ucs2utf8;
|
wind_ucs2utf8;
|
||||||
|
wind_utf8ucs2;
|
||||||
|
wind_utf8ucs2_length;
|
||||||
wind_ucs2utf8_length;
|
wind_ucs2utf8_length;
|
||||||
wind_ucs2read;
|
wind_ucs2read;
|
||||||
# testing
|
# testing
|
||||||
|
@@ -72,6 +72,9 @@ int wind_utf8ucs4_length(const char *, size_t *);
|
|||||||
int wind_ucs4utf8(const uint32_t *, size_t, char *, size_t *);
|
int wind_ucs4utf8(const uint32_t *, size_t, char *, size_t *);
|
||||||
int wind_ucs4utf8_length(const uint32_t *, size_t, size_t *);
|
int wind_ucs4utf8_length(const uint32_t *, size_t, size_t *);
|
||||||
|
|
||||||
|
int wind_utf8ucs2(const char *, uint16_t *, size_t *);
|
||||||
|
int wind_utf8ucs2_length(const char *, size_t *);
|
||||||
|
|
||||||
int wind_ucs2utf8(const uint16_t *, size_t, char *, size_t *);
|
int wind_ucs2utf8(const uint16_t *, size_t, char *, size_t *);
|
||||||
int wind_ucs2utf8_length(const uint16_t *, size_t, size_t *);
|
int wind_ucs2utf8_length(const uint16_t *, size_t, size_t *);
|
||||||
|
|
||||||
|
@@ -18,5 +18,6 @@ error_code INVALID_UTF8, "Invalid UTF-8 combination in string"
|
|||||||
error_code INVALID_UTF16, "Invalid UTF-16 combination in string"
|
error_code INVALID_UTF16, "Invalid UTF-16 combination in string"
|
||||||
error_code INVALID_UTF32, "Invalid UTF-32 combination in string"
|
error_code INVALID_UTF32, "Invalid UTF-32 combination in string"
|
||||||
error_code NO_BOM, "No byte order mark (BOM) in string"
|
error_code NO_BOM, "No byte order mark (BOM) in string"
|
||||||
|
error_code NOT_UTF16, "Code can't be represented as UTF-16"
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user