Re: [I18n]Xutf8LookupString and KeySyms > 0x010000000

2002-11-23 Thread Jean-Marc Lienher
Hi, Pablo Saratxaga a écrit : > I'm a bit surprized by that... aren't all keysyms between 0x0100 > and 0x0100 valid unicode values ? and as such, aren't all of > them encodable in utf-8 ? Yes that's what I was guessing... And that's what the old xterm code does... > > If yes, how could

Re: [I18n]Xutf8LookupString and KeySyms > 0x010000000

2002-11-23 Thread Pablo Saratxaga
Kaixo! On Sun, Nov 10, 2002 at 07:32:21PM +0100, Jean-Marc Lienher wrote: > -- > ret = Xutf8LookupString(ic, event, buf, 20, &keysym, &status); > > if (ret == 0 && keysym & 0xFF00 == 0x0100) { > ret = unicode_to_utf8(keysy

Re: [I18n]Xutf8LookupString and KeySyms > 0x010000000

2002-11-11 Thread Juliusz Chroboczek
>>> But my question is always unanswered. >>> Will Xutf8LookupString supports Unicode KeySyms without strings Good question. I've always assumed it did, but I've really got no idea. JL> So can I modify the X11 Xutf8LookupString function ? If it doesn't have this functionality yet, go for it, by

Re: [I18n]Xutf8LookupString and KeySyms > 0x010000000

2002-11-11 Thread Jean-Marc Lienher
Markus Kuhn a écrit : > X.Org is still distributing an outdated X{mb,wc}LookupString function > that does not handle keysym >= 0x0100, but that implementation also > has quite a number of bugs in its keysym->Unicode table and therefore > should not be used at all. > Well XFree86 seems more u

Re: [I18n]Xutf8LookupString and KeySyms > 0x010000000

2002-11-11 Thread Markus Kuhn
Jean-Marc Lienher wrote on 2002-11-10 18:32 UTC: > The Xterm patch should look like this : > -- > ret = Xutf8LookupString(ic, event, buf, 20, &keysym, &status); > > if (ret == 0 && keysym & 0xFF00 == 0x0100) { > ret = unicod

Re: [I18n]Xutf8LookupString and KeySyms > 0x010000000

2002-11-11 Thread Tomohiro KUBOTA
Hi, At Mon, 11 Nov 2002 09:57:43 +0100, Jean-Marc Lienher wrote: > So can I modify the X11 Xutf8LookupString function ? > I don't think that there is compatiblity issue because KeySym > greater than 0x0100 where unused in past. I think it is a good idea, though I am not an expert of XIM. It

Re: [I18n]Xutf8LookupString and KeySyms > 0x010000000

2002-11-11 Thread Jean-Marc Lienher
Hi, Tomohiro KUBOTA a écrit : > At Sun, 10 Nov 2002 19:32:42 +0100, > Jean-Marc Lienher wrote: > > > But my question is always unanswered. > > Will Xutf8LookupString supports Unicode KeySyms without strings > > or must I patch Xterm ? > > > > The Xterm patch should look like this : > > --

Re: [I18n]Xutf8LookupString and KeySyms > 0x010000000

2002-11-10 Thread Tomohiro KUBOTA
Hi, At Sun, 10 Nov 2002 19:32:42 +0100, Jean-Marc Lienher wrote: > But my question is always unanswered. > Will Xutf8LookupString supports Unicode KeySyms without strings > or must I patch Xterm ? > > The Xterm patch should look like this : > -

Re: [I18n]Xutf8LookupString and KeySyms > 0x010000000

2002-11-10 Thread Jean-Marc Lienher
Hi, I've a first version of my XIM server. It is available here: http://www.oksid.ch/interxim/index.html But my question is always unanswered. Will Xutf8LookupString supports Unicode KeySyms without strings or must I patch Xterm ? The Xterm patch should look like this :

[I18n]Xutf8LookupString and KeySyms > 0x010000000

2002-11-07 Thread Jean-Marc Lienher
Hi, Does Xutf8LookupString supports or will support directly encoded UCS characters ? Xterm supports this when X_HAVE_UTF8_STRING is undefined. I've written a small locale independent UTF-8 library that use the same code. ( http://www.oksid.ch/xutf8/index.html ) This feature is very usefull to