This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: cygpath
- From: "Nellis, Kenneth (Conduent)" <Kenneth dot Nellis at conduent dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Mon, 13 Feb 2017 17:29:46 +0000
- Subject: RE: cygpath
- Authentication-results: sourceware.org; auth=none
- References: <151946397.20170210223617@yandex.ru>
From: Andrey Repin
> See http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-specialchars
This reference says:
> All of the above characters, except for the backslash, are converted to
> special UNICODE characters in the range 0xf000 to 0xf0ff (the "Private
> use area") when creating or accessing files.
It does not say *how* they are converted. In fact, by observation,
they appear to be converted by having 0xF000 added to their code points.
Perhaps this text could be updated accordingly.
I propose the following:
> All of the above characters, except for the backslash, are converted to
> special UNICODE characters in the range 0xf000 to 0xf0ff (the "Private
> use area") when creating or accessing files by adding 0xf000 to the
> forbidden characters' code points.
--Ken Nellis