[Vm-dev] Unix UTF8 input
martinkuball at web.de
Tue Jun 19 17:28:42 UTC 2007
Am Tuesday 19 June 2007 schrieb Chris Petsos:
> Hi Martin...thanks for posting...
> > Here you go. The patch changes the input event handling method to
> > process
> > multibyte characters. Basically there are two changes. First: in the
> > event
> > handler the individual bytes are accumulated and than the recode
> > method is
> > called. Second: if you use an utf8 locale the utf8 input encoding is
> > set
> > to UTF8 (see sqUnixCharConv.c).
> > If you want to use a different encoding you can overide the automatic
> > choice by using -eventenc parameter. For available encodings see
> > sqUnixCharConv.c.
> > The patch has to be applied to
> > platforms/unix/vm-display-X11/sqUnixX11.c.
> > If you find any bugs or have questions or suggestions for improvement
> > please tell me.
> I applied your patch successfully but it seems that the VM does not
> respond correctly to -eventenc setting, although it is listed in the
> help notes... It reacts as if the parameter does not exist...
> A previous solution i applied was setting the parameter correctly, so
> i'll try to mix them up to see how it goes...
If you tell me exactly what you did and what you want, I will look into it
and fix it.
More information about the Vm-dev