Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jan 2001 14:51:56 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-questions@freebsd.org
Subject:   Re: File System
Message-ID:  <92q5ic$su8$1@kemoauc.mips.inka.de>
References:  <12919.010101@ciac.jl.cn>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <12919.010101@ciac.jl.cn>, S.W.Liu <hhh@ns.ciac.jl.cn> wrote:

>   Does FreeBSD's filesystem support 8-bit file name?

Like all Unix filesystems it supports any byte value in filenames
except 0x2F ('/', directory separator) and 0 ('\0', string terminator).

>   Such as Chinese name?

I don't know the character sets used in China.  It works fine for
European single-byte character 8-bit charsets as well as for UTF-8.
Unless you have a multi-byte charset that uses byte values of 0x2F
and 0, you are fine.

> and how to?

You just call open(2) etc with the string.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92q5ic$su8$1>