Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Apr 2010 13:13:00 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        "Kotecha, Grishma" <grishma.kotecha@intel.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Unicode support in Free bsd.
Message-ID:  <85A565CC-DB7F-421B-831B-9E1B48967173@mac.com>
In-Reply-To: <E559D19195578B4E9ECB3919FF99F97929A1864C83@orsmsx509.amr.corp.intel.com>
References:  <E559D19195578B4E9ECB3919FF99F97929A1864C83@orsmsx509.amr.corp.intel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 8, 2010, at 12:11 PM, Kotecha, Grishma wrote:
> Can we name files in freebsd with unicode characters?

UFS/UFS2 supports 8-bit chars (except NULL), so UTF8 representation for Unicode filenames ought to work OK.

> Also are unicode characters supported in file i/o system calls like open, dllopen, fopen? i.e. can we open a file with unicode pathname?

Yes.

> for e.g in windows CreatefileW is used for opening files with unicode pathnames (wide characters).

You can't use USC-2 / UTF-16 widechars.

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85A565CC-DB7F-421B-831B-9E1B48967173>