I18n'ed input!
- From: Lars Clausen <lrclause cs uiuc edu>
- To: dia-list gnome org
- Subject: I18n'ed input!
- Date: 05 Aug 2002 13:30:59 -0500
It looks like I managed to make internationalized input for Dia. I have
successfully input with iso-8859-{1,9,15}. If somebody with a more
'interesting' (i.e. multibyte) input method could try it out, I'd very much
like to know what happens (and how to test it myself under Debian). Make
sure that this diff has been applied (committed today, not in anoncvs yet).
Index: app/disp_callbacks.c
===================================================================
RCS file: /cvs/gnome/dia/app/disp_callbacks.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -r1.52 -r1.53
607a608
gchar *utext;
614a616
utext = g_locale_to_utf8(kevent->string, kevent->length, NULL, NULL, NULL);
616c618,619
< kevent->string, kevent->length,
---
//kevent->string, kevent->length,
utext, g_utf8_strlen(utext, -1),
617a621
g_free(utext);
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]