Samuel Thibault wrote:
Bill Haneman, le Thu 19 Oct 2006 00:19:04 +0100, a écrit :
Sorry, following up on my own email:
The unicode methods we use (we need these or their functional equivalents):
(easy ones first)
g_ucs4_to_utf8
g_utf8_strlen
g_utf8_offset_to_pointer
g_utf8_get_char
Bill Haneman, le Thu 19 Oct 2006 10:23:40 +0100, a écrit :
iconv should be fine for this
Actually, I don't think so - it doesn't include offset_to_pointer
That's something like:
long utf8_offset_to_pointer(char *str, long offset) {
iconv_t conv = iconv_open(wchar_t,utf-8);
Sorry, following up on my own email:
The unicode methods we use (we need these or their functional equivalents):
(easy ones first)
g_ucs4_to_utf8
g_utf8_strlen
g_utf8_offset_to_pointer
g_utf8_get_char
g_utf8_next_char
g_unichar_to_utf8
(now the hard ones...)
g_unichar_break_type
Bill Haneman, le Thu 19 Oct 2006 00:19:04 +0100, a écrit :
Sorry, following up on my own email:
The unicode methods we use (we need these or their functional equivalents):
(easy ones first)
g_ucs4_to_utf8
g_utf8_strlen
g_utf8_offset_to_pointer
g_utf8_get_char
g_utf8_next_char