UTF8 guarantees for GdkEntryKey
- From: Dave Malcolm <david davemalcolm demon co uk>
- To: gtk-list gnome org
- Cc: conglomerate-devel lists copyleft no
- Subject: UTF8 guarantees for GdkEntryKey
- Date: Sun, 6 Apr 2003 16:10:55 +0100
Is the "string" field of a GdkEventKey guaranteed to be valid UTF-8? Am I
correct in thinking that I ought to be able to write (regardless of
language/input method):
g_return_if_fail(g_utf8_validate(event->string, -1, NULL));
I'm having problems with Cyrillic key entry in a custom XML editor widget I'm
writing (www.conglomerate.org, a free-as-in-GPL user-friendly XML editor).
Thanks in advance!
Dave Malcolm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]