diff options
author | corvid <corvid@lavabit.com> | 2009-05-25 23:37:12 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2009-05-25 23:37:12 +0000 |
commit | 905f51d5f73d99b45d8fd7d1bd1b1ce28796d981 (patch) | |
tree | a19cdaac2707d0e83936f743a40b4d2c2bda4462 /src | |
parent | 7275243aca8e02b2d3a24263f8016a60cee02302 (diff) |
comment
Diffstat (limited to 'src')
-rw-r--r-- | src/utf8.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utf8.cc b/src/utf8.cc index 42f7e676..46a45fe4 100644 --- a/src/utf8.cc +++ b/src/utf8.cc @@ -38,7 +38,9 @@ uint_t a_Utf8_end_of_char(const char *str, uint_t i) /* * Decode a single UTF-8-encoded character starting at p. * The resulting Unicode value (in the range 0-0x10ffff) is returned, - * and len is set the the number of bytes in the UTF-8 encoding. + * and len is set to the number of bytes in the UTF-8 encoding. + * Note that utf8decode(), if given non-UTF-8 data, will interpret + * it as ISO-8859-1 or CP1252 if possible. */ uint_t a_Utf8_decode(const char* str, const char* end, int* len) { |