From: Dana Jansens Date: Mon, 13 Jan 2003 10:06:41 +0000 (+0000) Subject: move the utf8_skip table into the .cc X-Git-Tag: openbox-2_3_0~369 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=3d012bcb47eda9210fa49df28efa8b59c2949c05;p=dana%2Fopenbox.git move the utf8_skip table into the .cc --- diff --git a/otk/ustring.hh b/otk/ustring.hh index d156528c..bc00a31a 100644 --- a/otk/ustring.hh +++ b/otk/ustring.hh @@ -32,18 +32,6 @@ typedef u_int32_t unichar; #ifndef DOXYGEN_IGNORE -//! The number of bytes to skip to find the next character in the string -const char utf8_skip[256] = { - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, - 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, - 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,6,6,1,1 -}; - unichar utf8_get_char(const char *p); #endif // DOXYGEN_IGNORE