From owner-freebsd-questions@FreeBSD.ORG Mon Jun 9 05:14:15 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B24781065673 for ; Mon, 9 Jun 2008 05:14:15 +0000 (UTC) (envelope-from edt1023@ms17.hinet.net) Received: from msr18.hinet.net (msr18.hinet.net [168.95.4.118]) by mx1.freebsd.org (Postfix) with ESMTP id 308928FC1A for ; Mon, 9 Jun 2008 05:14:14 +0000 (UTC) (envelope-from edt1023@ms17.hinet.net) Received: from ms17.hinet.net (61-223-68-29.dynamic.hinet.net [61.223.68.29]) by msr18.hinet.net (8.9.3/8.9.3) with SMTP id NAA02806; Mon, 9 Jun 2008 13:12:56 +0800 (CST) Received: by ms17.hinet.net (sSMTP sendmail emulation); Mon, 9 Jun 2008 13:13:39 +0800 Date: Mon, 9 Jun 2008 13:13:39 +0800 From: "Edward G.J. Lee" To: Yuri Message-ID: <20080609051339.GA17338@lgj.amnesia.net> References: <48498735.6030800@rawbw.com> <81a9e3840806070109g5605ca5ag52382cf100b454e6@mail.gmail.com> <484A4FDC.80308@rawbw.com> <81a9e3840806070228q440af610g94cec5599752048c@mail.gmail.com> <484A578A.5040008@rawbw.com> <20080609033309.GA12403@lgj.amnesia.net> <484CB566.6050404@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <484CB566.6050404@rawbw.com> Organization: GNU/Linux/*BSD Dreamer Club User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions Subject: Re: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2008 05:14:15 -0000 On Sun, Jun 08, 2008, Yuri wrote: > Edward G.J. Lee wrote: > > > > unset LC_ALL > > unset LANG > > export LC_CTYPE=zh_TW.UTF-8 > > > > Thank you Edward, > > Now gcin menu is shown from QT app and all apps still speak English. > But the problem is that selected Chinese character doesn't appear in the > editbox in QT applications. Your qt app and gcin must start via zh_TW.UTF-8 environment. We don't have qt immodule in gcin ports yet. Edward ps. You need XIM when you use qt app. In ~/.bash_profile, export QT_IM_MODULE=xim