From owner-freebsd-fs@FreeBSD.ORG Sun Jan 16 21:44:05 2005 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E34D816A4CE for ; Sun, 16 Jan 2005 21:44:05 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9226643D4C for ; Sun, 16 Jan 2005 21:44:05 +0000 (GMT) (envelope-from chiahsing@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so675299wri for ; Sun, 16 Jan 2005 13:44:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=FmuZbAERh6CNCOt0ffp4KCNwQaSsjVaDDEkP6BfncoNEUeI9cz1u8wn2biS3qfX+u1xpSIKaI1WuzMLoRPwIeDKoFSQ7Ki0nBqnKcuGkEfFG9Q3CNkz1mn711mkKqvNkHr1D/wfWrChV2XX0bnO6HlbHQXVjMlcSuXHoi/1vMnU= Received: by 10.54.32.35 with SMTP id f35mr156378wrf; Sun, 16 Jan 2005 13:44:04 -0800 (PST) Received: by 10.54.31.21 with HTTP; Sun, 16 Jan 2005 13:44:04 -0800 (PST) Message-ID: Date: Sun, 16 Jan 2005 13:44:04 -0800 From: David Yu To: freebsd-fs@freebsd.org, freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: NTFS unicode converting problem X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Yu List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2005 21:44:06 -0000 Hi, it seems that NTFS in FreeBSD uses a 16-bit long wchar to store filename. When I wanted to convert some Chinese filename into UTF-8, the conversion was failed because a single Chinese character needs 3 bytes in UTF-8. Is anyone already working on this problem? If not, I would like to do something about it. Any suggestions? David