C++ Logo

sg16

Advanced search

Re: [SG16-Unicode] P1689: Encoding of filenames for interchange

From: Thiago Macieira <thiago_at_[hidden]>
Date: Thu, 05 Sep 2019 20:50:34 -0700
On Thursday, 5 September 2019 05:57:03 PDT Niall Douglas wrote:
> P1689 ought to be a taker and support filenames which are invalid UTF.
> I'm particularly thinking of temporary file names which build systems
> often deal with, as some temporary file name generators make invalid
> UTF. And that's totally legal on the filesystem.

That's extremely unlikely. I've never seen any temporary file name generator
use anything but a very restricted US-ASCII subset. Even punctuation is
uncommon.

See POSIX's Portable Filename Character Set:
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/
V1_chap03.html#tag_03_282

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel System Software Products

Received on 2019-09-06 05:50:36