From owner-freebsd-questions@FreeBSD.ORG Wed Jun 15 05:09:53 2011 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 E3738106564A for ; Wed, 15 Jun 2011 05:09:53 +0000 (UTC) (envelope-from alphachi@mediaspirit.org) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id BA99A8FC08 for ; Wed, 15 Jun 2011 05:09:53 +0000 (UTC) Received: by iyj12 with SMTP id 12so7686639iyj.13 for ; Tue, 14 Jun 2011 22:09:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.42.168.137 with SMTP id w9mr69864icy.121.1308114592897; Tue, 14 Jun 2011 22:09:52 -0700 (PDT) Received: by 10.42.213.195 with HTTP; Tue, 14 Jun 2011 22:09:52 -0700 (PDT) Date: Wed, 15 Jun 2011 13:09:52 +0800 Message-ID: From: alphachi To: "list: freebsd" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Can't index Chinese encoding for fonts.dir 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: Wed, 15 Jun 2011 05:09:54 -0000 When installed /usr/ports/x11-fonts/wqy, I found there aren't any entries about Chinese encoding in /usr/local/lib/X11/fonts/wqy/fonts.dir, just like "...-gb18030.2000-0", "...--gb2312.1980-0", "...-gbk-0", so X programs can not correctly display Chinese characters. I used command mkfontscale/mkfontdir for rebuilding fonts.dir, but still no Chinese items. Examined the localization set, that is no problem: zh_CN.UTF-8. There is also another machine, exactly the same software installed with this, but the machine is OK. What problem is this? thanks!