[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

I18n'ed input!



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] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK