diff options
| author | 2011-10-27 17:41:26 -0700 | |
|---|---|---|
| committer | 2011-10-27 17:41:26 -0700 | |
| commit | 10a6f64fac3a5489cef6ccc593fd42c12c31a4bf (patch) | |
| tree | d5ddaaea353204ecb8f7a146d8653fd993e2d79c /include/utils | |
| parent | 1c46edd8c6a2fb58e2bdf841695c7fffa61ca923 (diff) | |
Revert "Fix regression in CursorWindow.copyStingToBuffer."
This reverts commit d0ff68da6a606602235fb8749473999e3d1bde53.
Diffstat (limited to 'include/utils')
| -rw-r--r-- | include/utils/Unicode.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/utils/Unicode.h b/include/utils/Unicode.h index 9273533770..6afb291f4a 100644 --- a/include/utils/Unicode.h +++ b/include/utils/Unicode.h @@ -150,13 +150,6 @@ void utf8_to_utf32(const char* src, size_t src_len, char32_t* dst); ssize_t utf8_to_utf16_length(const uint8_t* src, size_t srcLen); /** - * Convert UTF-8 to UTF-16 including surrogate pairs. - * Returns a pointer to the end of the string (where a null terminator might go - * if you wanted to add one). - */ -char16_t* utf8_to_utf16_no_null_terminator(const uint8_t* src, size_t srcLen, char16_t* dst); - -/** * Convert UTF-8 to UTF-16 including surrogate pairs. The destination buffer * must be large enough to hold the result as measured by utf8_to_utf16_length * plus an added NULL terminator. |