Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2005 07:11:44 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        takawata@jp.freebsd.org
Cc:        freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org
Subject:   Re: devfs file name NLS encoding? 
Message-ID:  <19961.1126674704@phk.freebsd.dk>
In-Reply-To: Your message of "Wed, 14 Sep 2005 11:43:33 %2B0900." <200509140243.j8E2hXPY049090@ns.init-main.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200509140243.j8E2hXPY049090@ns.init-main.com>, takawata@jp.freebsd.
org writes:
>Hi, as you know, we can create arbitaly file name on devfs.
>But for now, all file names on a devfs are encoded in ASCII.
>
>If we want to put Japanese file names in devfs, how should  it 
>be encoded? UTF-8 or something convinient for the source encoding?

All filenames in DEVFS are either created from the device driver
'C' source (as a string literal via sprintf mostly) or from userland
as symlink.

So whatever works.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19961.1126674704>