Unicode support in Free bsd.

Chuck Swiger cswiger at mac.com
Thu Apr 8 20:13:02 UTC 2010


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



More information about the freebsd-questions mailing list