MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0014934 | CMake | (No Category) | public | 2014-05-25 20:35 | 2015-01-05 08:38 |
|
Reporter | V字龍(Vdragon) | |
Assigned To | | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | GNU/Linux | OS | Ubuntu | OS Version | 14.04LTS i386 |
Product Version | CMake 2.8.12.2 | |
Target Version | | Fixed in Version | CMake 3.1 | |
|
Summary | 0014934: archive_write_header: Can't translate pathname 'bin/教學程式' to UTF-8 |
Description | I met this issue when trying CMake official tutorial(www.cmake.org/cmake/help/cmake_tutorial.html) step 6, instead of using the provided source code directly I slightly modified it to contain some Traditional Chinese strings and filenames.
As my environmnet is indeed UTF-8 (zh_TW.UTF8), I expected this kind of error won't happen. |
Steps To Reproduce | 1. extract the content of Step6.zip
2. execute `cmake .`, `make` and `cpack -C CPackConfig.cmake` in Step6/ |
Additional Information | |
Tags | CharacterSet, CPACK, filename, linux, Unicode |
Relationships | |
Attached Files | Step6.zip (8,170) 2014-05-25 20:35 https://public.kitware.com/Bug/file/5152/Step6.zip |
|
Issue History |
Date Modified | Username | Field | Change |
2014-05-25 20:35 | V字龍(Vdragon) | New Issue | |
2014-05-25 20:35 | V字龍(Vdragon) | File Added: Step6.zip | |
2014-05-25 20:55 | V字龍(Vdragon) | Tag Attached: CharacterSet | |
2014-05-25 20:55 | V字龍(Vdragon) | Tag Attached: CPACK | |
2014-05-25 20:55 | V字龍(Vdragon) | Tag Attached: filename | |
2014-05-25 20:55 | V字龍(Vdragon) | Tag Attached: linux | |
2014-05-25 20:55 | V字龍(Vdragon) | Tag Attached: Unicode | |
2014-05-25 21:02 | V字龍(Vdragon) | Note Added: 0035928 | |
2014-05-27 08:44 | Brad King | Note Added: 0035938 | |
2014-05-27 08:44 | Brad King | Status | new => backlog |
2014-05-27 08:47 | V字龍(Vdragon) | Note Added: 0035939 | |
2014-05-27 19:24 | Clinton Stimpson | Note Added: 0035951 | |
2014-06-04 21:58 | Clinton Stimpson | Note Added: 0036122 | |
2014-06-04 21:58 | Clinton Stimpson | Status | backlog => resolved |
2014-06-04 21:58 | Clinton Stimpson | Resolution | open => fixed |
2014-06-04 21:58 | Clinton Stimpson | Fixed in Version | => CMake 3.1 |
2015-01-05 08:38 | Robert Maynard | Note Added: 0037560 | |
2015-01-05 08:38 | Robert Maynard | Status | resolved => closed |
Notes |
|
(0035928)
|
V字龍(Vdragon)
|
2014-05-25 21:02
|
|
In order to workaround this issue I need to:
1. change top-level CMakeLists.txt:2 to "project (\"something pure ASCII\")"
2. replace all "教學程式" in top-level CMakeLists.txt to "Tutorial" |
|
|
(0035938)
|
Brad King
|
2014-05-27 08:44
|
|
There has been some work to support international characters but currently CMake does not support them.
|
|
|
(0035939)
|
V字龍(Vdragon)
|
2014-05-27 08:47
|
|
@Brad King
Thanks for pointing it out! I'll just avoid them until this bug is fixed. |
|
|
(0035951)
|
Clinton Stimpson
|
2014-05-27 19:24
|
|
Adding a setlocale() in main() will fix this on Linux. |
|
|
(0036122)
|
Clinton Stimpson
|
2014-06-04 21:58
|
|
|
|
(0037560)
|
Robert Maynard
|
2015-01-05 08:38
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|