[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-fs
Subject:    Re: devfs file name NLS encoding?
From:       "Poul-Henning Kamp" <phk () phk ! freebsd ! dk>
Date:       2005-09-14 5:11:44
Message-ID: 19961.1126674704 () phk ! freebsd ! dk
[Download RAW message or body]

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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic