From owner-freebsd-questions@FreeBSD.ORG Fri Feb 1 11:56:30 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D37E16A41B for ; Fri, 1 Feb 2008 11:56:30 +0000 (UTC) (envelope-from tfcheng@gmail.com) Received: from hs-out-2122.google.com (hs-out-0708.google.com [64.233.178.248]) by mx1.freebsd.org (Postfix) with ESMTP id 18BDE13C44B for ; Fri, 1 Feb 2008 11:56:29 +0000 (UTC) (envelope-from tfcheng@gmail.com) Received: by hs-out-2122.google.com with SMTP id h53so1071803hsh.11 for ; Fri, 01 Feb 2008 03:56:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=+m9rvUP46LUGou1Na85tc+avYnut4rY1iZ/FH2CyCCI=; b=v8sD0ZaqL80NwtfueQIxfd8fIxm6c6Q+ou8gxOSwHlkLMWxTMM75GbUI9LULCf1nB+PBGhepjUksZ/T1A9qr7LItkclqpGDqeaoni7MK5lAWUa1No7BehVa1jIVgba+b//uN/Ed+r8DCFPjHFoHrBvUZ3tZJFlwDTcixOOcQF/o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JHLWUer211B0Y+x8GDbrESopk5tu+wTEr5dpCGOnQERltYEOK/LEvP2HpT9cCT0lT7O1Zd8NYNv+CuTScRGsu4mGZ2z2LvgbREfhl53asDSUDwc15kp5IeIWaTHiL8zypPFRtYPlHTpPui+rYj2RJKcDNoHFoC22dfyejdzIZpc= Received: by 10.142.226.2 with SMTP id y2mr2048743wfg.137.1201866987672; Fri, 01 Feb 2008 03:56:27 -0800 (PST) Received: by 10.143.167.1 with HTTP; Fri, 1 Feb 2008 03:56:27 -0800 (PST) Message-ID: Date: Fri, 1 Feb 2008 06:56:27 -0500 From: "Tsu-Fan Cheng" To: "Edward G.J. Lee" In-Reply-To: <20080131043000.GA3989@lgj.amnesia.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080131043000.GA3989@lgj.amnesia.net> Cc: FreeBSD Questions Subject: Re: vi+urxvt8.9+oxim for traditional chinese, HOW?? 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: Fri, 01 Feb 2008 11:56:30 -0000 some are displayed correctly, but some are wrong, still looks like \XX\XX, feel like not all the characters are not well represented.... TFC On Jan 30, 2008 11:30 PM, Edward G.J. Lee wrote: > > On Wed, Jan 30, 2008, Tsu-Fan Cheng wrote: > > Hi, > > I use rxvt-unicode8.9+oxim, want to vi a text document in > > tradictional chinese. I have locale set as LC_CTYPE=zh_TW.UT-8. I > > first have my input looks like xx/xx/. Then I set LC_CTYPE to > > en_US.ISO8859-1, I got nothing. How should I get this done?? thank > > you!! > > Try, > > env LC_ALL=en_US.ISO8859-1 vi > > or if you are using sh/bash > > LC_ALL=en_US.ISO8859-1 vi > > > Edward >