[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: X input methods for utf-8?
Bruno Haible wrote:
> Bram Moolenaar writes:
>
> > The information I gathered so far is that there is no UTF-8
> > locale available for X-windows. At least not for most people on
> > existing systems.
>
> UTF-8 locales are supported in XFree86 4.0.2 (with glibc 2.2), and
> also in Solaris 8. Not all toolkits built on X11 support this locale
> yet, however: Xaw only if you explicitly set the "international"
> resource to true, Motif dumps core, ...
Not many people are using XFree86 4.0.2 (yet). But it's good to know it's
there, in a few years it will be wide spread.
> > A better solution would be that the locale is set to UTF-8. The
> > X-windows functions should then automatically translate the compound
> > string to UTF-8.
>
> They do it for all functions whose name starts with "Xmb". But in the
> XIM callback functions which you install you still get unconverted
> text.
I just ran into this. Hopefully somebody who knows about how the XIM works
can have a look into this. We probably need to add conversion in a few
places. The code in Vim that handles it is unfortunately not very well
commented.
--
hundred-and-one symptoms of being an internet addict:
111. You and your friends get together regularly on IRC, even though
all of you live in the same city.
/// Bram Moolenaar -- Bram@xxxxxxxxxxxxx -- http://www.moolenaar.net \\\
((( Creator of Vim - http://www.vim.org -- ftp://ftp.vim.org/pub/vim )))
\\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/