1 #include "gtktexttypes.h"
3 /* These are used to represent embedded non-character objects
4 * if you return a string representation of a text buffer
6 const gunichar gtk_text_unknown_char = 0xFFFD;
7 const gchar gtk_text_unknown_char_utf8[] = { 0xEF, 0xBF, 0xBD, '\0' };
10 inline_byte_begins_utf8_char (const gchar *byte)
12 return ((*byte & 0xC0) != 0x80);
16 gtk_text_byte_begins_utf8_char (const gchar *byte)
18 return inline_byte_begins_utf8_char (byte);