From owner-freebsd-x11@FreeBSD.ORG Tue Feb 7 20:59:50 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8ACE106566B for ; Tue, 7 Feb 2012 20:59:50 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id AAADF8FC08 for ; Tue, 7 Feb 2012 20:59:50 +0000 (UTC) Received: by iaeo4 with SMTP id o4so15658715iae.13 for ; Tue, 07 Feb 2012 12:59:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=HNnFTQzz8A2U77bf8WaPCxBH4VR7M6Da0E+Rt3GGN1c=; b=sPygsZYGO955eFAN/X8Mkkk3qooPV3oRioEz5ZcAiQjDslfuNq76/YY/7Jnp/Xvw8l JF3l53XTL+3nzSC2+MtIMlhHsIkNLpGJkxZ5f2o14Ite/sXVF3mR/T3RzYCpT4qTfvJt ZIVepBAxisbAc0RDKwL5/RkJypzq5AYcClWT8= MIME-Version: 1.0 Received: by 10.50.153.233 with SMTP id vj9mr10425849igb.16.1328646496815; Tue, 07 Feb 2012 12:28:16 -0800 (PST) Received: by 10.231.137.72 with HTTP; Tue, 7 Feb 2012 12:28:16 -0800 (PST) Date: Tue, 7 Feb 2012 14:28:16 -0600 Message-ID: From: Zhihao Yuan To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: luit crashes when LC_CTYPE=zh_CN.GBK X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2012 20:59:50 -0000 Hi, After some debugging, I think the problem is caused by libfontenc. Before charset.c:356, everything is OK. After fc->init(s) is called, the recognized GBK charset becomes "Unknown (94)". I'm not familiar with this, and I hope someone can take a look at this. Thanks. -- Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___________________________________________________ 4BSD -- http://4bsd.biz/