On Tue, Mar 15, 2016 at 01:49:20PM +0100, Dimitry Sibiryakov wrote:
> >    Does POSIX requires any changes for this issue ?
> 
>    AFAIK - no, fopen() handles utf-8 in file names out of box.

I would rather say posix filesystems are encoding agnostic. In general,
the file name is just a sequence of bytes not containing zero bytes
('\0') and slashes ('/') and it's up to you to decide what encoding you
want to use, as long as it's not something like UTF-16 or UCS-2 (which
many windows users mistake for UTF-16).

As most linux distributions have been using UTF-8 for everything for
quite some time, file names ended up being in UTF-8 as well. But it's
just kind of an "unwritten law", not a standard.

                                                         Michal Kubecek


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to