diff --git a/headers/os/support/UTF8.h b/headers/os/support/UTF8.h index 8ff4a07a31..8efe5e7656 100644 --- a/headers/os/support/UTF8.h +++ b/headers/os/support/UTF8.h @@ -64,15 +64,6 @@ _IMPEXP_TEXTENCODING status_t convert_from_utf8(uint32 dstEncoding, int32 *state, char substitute = B_SUBSTITUTE); -/*-------------------------------------------------------------*/ -/*------- Utility Functions -----------------------------------*/ - -// Suggested by BGA -inline uint32 utf8_char_len(uchar c) -{ - return (((0xE5000000 >> (((c) >> 3) & 0x1E)) & 3) + 1); -} - /*-------------------------------------------------------------*/ /*-------------------------------------------------------------*/