Notes |
|
(0040018)
|
Ben Boeckel
|
2015-12-21 15:59
|
|
When git-bash's tar extracts it, it is put on disk as \xc2\xa0, but when CMake extracts it, it becomes \xc2\x00\xa0\x00 (I think). Messing around with iconv, I can generate: \xc3\x82\xc2\xa0 which appears to be a surrogate pair. |
|
|
(0040025)
|
Clinton Stimpson
|
2015-12-24 08:48
|
|
Which platform is this on? |
|
|
(0040026)
|
Clinton Stimpson
|
2015-12-24 10:06
|
|
I see this problem on Windows.
The string for the filename doesn't make it to the CMake side and is treated as an OEM code page in libarchive. Perhaps we need to look into updating libarchive.
My 7-zip had the exact same problem as CMake, until I upgraded my 7-zip. |
|
|
(0040036)
|
Clinton Stimpson
|
2016-01-01 20:40
|
|
The format of the attached .tar file is and old format where encoding is undefined, or rather, the encoding is determined by the environment of the machine that created it.
If you want a defined encoding, you need to switch to another tar format, such as posix tar, where filenames in a .tar file are UTF-8.
If I take the attached .tar file, and re-create it using
$ tar --format=posix -cf ....
then take that new file over to Windows where I do cmake -E tar zxf ..., then I have no problem.
In summary, if you want to use non-ascii filenames in .tar, use a more recent standard such as posix tar. |
|
|
(0040990)
|
Robert Maynard
|
2016-05-02 08:30
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|