On Wed, 2003-08-13 at 10:14, Berge, Harry ten wrote:
> But I thought the core X font / print calls like in motif don't support
> UTF-8.... ?!

They only support the encoding of the locale. If the encoding
of the locale is UTF-8, it will generally work fine.

>From one perspective, UTF-8 is just another multibyte encoding
like EUC-JP or EUC-CN (GB2312).

Regards,
                                                Owen

> > -----Original Message-----
> > From:       Owen Taylor [SMTP:[EMAIL PROTECTED]
> > Sent:       Wednesday, August 13, 2003 3:43 PM
> > To: [EMAIL PROTECTED]
> > Cc: SuSE general (E-mail)
> > Subject:    Re: [XFree86] UTF-8 and Motif?
> > 
> > On Wed, 2003-08-13 at 08:50, Berge, Harry ten wrote:
> > > Hi,
> > > 
> > > We have an 'old' Motif application that needs to becomeUTF-8 aware for a
> > > Chinese customer. The question is how? Motif doesn't support UTF-8, so
> > > basically the advise that we already had was "go to use Qt or GTK, don't
> > use
> > > Motif (anymore)". 
> > > 
> > > But is this the only alternative? Wouldn't it be possible to use Xf2 /
> > > Freetype from within our Motif application?
> > 
> > Not for menus, text entry boxes, etc. I'd really expect that if you
> > run in a UTF-8 locale, things might just work with your application.
> > (Well, as well as core X fonts ever work.)
> > 
> > And if you aren't running in a UTF-8 locale, things will be hopeless.
> > Motif and its dependencies are completely tied to the idea that
> > they are using the encoding of the locale.
> > 
> > A lot of old Motif apps (Acroread, Netscape 4) don't work well in
> > UTF-8 locales, but that's generally application bugs.
> > 

_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to