From owner-freebsd-stable@FreeBSD.ORG Fri Jul 15 15:19:54 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA79816A41C for ; Fri, 15 Jul 2005 15:19:54 +0000 (GMT) (envelope-from lithium7456@hotmail.com) Received: from hotmail.com (bay24-f12.bay24.hotmail.com [64.4.18.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3DBB43D66 for ; Fri, 15 Jul 2005 15:19:53 +0000 (GMT) (envelope-from lithium7456@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 15 Jul 2005 08:19:53 -0700 Message-ID: Received: from 80.15.249.149 by by24fd.bay24.hotmail.msn.com with HTTP; Fri, 15 Jul 2005 15:19:53 GMT X-Originating-IP: [61.173.205.226] X-Originating-Email: [lithium7456@hotmail.com] X-Sender: lithium7456@hotmail.com From: "Li Ruijiang" To: freebsd-stable@freebsd.org Date: Fri, 15 Jul 2005 23:19:53 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed X-OriginalArrivalTime: 15 Jul 2005 15:19:53.0629 (UTC) FILETIME=[A6A72CD0:01C58950] X-Mailman-Approved-At: Sat, 16 Jul 2005 15:39:33 +0000 Subject: HELP --a question on LOCALE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 15:19:54 -0000 I am a chinese user,and today I upgraded my FreeBSD system from 5.3 release to 6.0 all is successful except that I can not input chinese. The XIM needs two environment variables:LANG and LC_ALL so I export them to zh_CN.GBK in my .xinitrc file when the X was started I tested it using "echo $LANG"and "echo $LC_ALL".I got the right response. But when when I type "locale", I got a response like this: LANG=zh_CN.GBK LC_CTYPE="C" LC_COLLATE="C" LC_TIME="C" LC_NUMERIC="C" LC_MONETARY="C" LC_MESSAGES="C" LC_ALL=zh_CN.GBK So LC_CTYPE and LC_* were not modified then I "export LC_CTYPE=zh_CN.GBK" when I "echo $LC_CTYPE" it said "zh_CN.GBK" when I "locale" the result did not change at all. I have installed "localedata-5.4" and set PATH_LOCALE when I "locale -a" the result contains zh_CN.GBK What should I do??? Thank you very much. _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn