Boost logo

Boost :

Subject: Re: [boost] [filesystem]Extracting path as string from wpath
From: Emil Dotchevski (emil_at_[hidden])
Date: 2008-10-17 11:45:28


On Fri, Oct 17, 2008 at 7:10 AM, Beman Dawes <bdawes_at_[hidden]> wrote:
> wpath.external_file_string() returns the type and encoding required by the
> platform. For Mac OS X, the type is std::string, and the Apple web site says
> the encoding is Unicode. I assume that means UTF-8, although I couldn't find
> that stated explicitly.

"In Mac OS X's VFS API file names are, by definition, canonically
decomposed Unicode, encoded using UTF-8."

This means that precomposed characters are forbidden and combining
diacritics must be used to replace them.

See http://developer.apple.com/qa/qa2001/qa1173.html.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk