[cmake-developers] [CMake 0012074]: "Could not copy from" On Windows 7 (Simplified Chinese)
Mantis Bug Tracker
mantis at public.kitware.com
Wed Apr 13 02:48:45 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=12074
======================================================================
Reported By: zouguangxian
Assigned To:
======================================================================
Project: CMake
Issue ID: 12074
Category: CMake
Reproducibility: always
Severity: major
Priority: high
Status: new
======================================================================
Date Submitted: 2011-04-13 02:48 EDT
Last Modified: 2011-04-13 02:48 EDT
======================================================================
Summary: "Could not copy from" On Windows 7 (Simplified
Chinese)
Description:
When run cmake on Windows 7 (Simplified Chinese), cmake always report "Could not
copy from" if the current user name include chinese characteres.
Additional Information:
This problem will be fixed via add "std::locale::global(std::locale(""));", for
example, in cmake.cxx, change the main function to
int main(int ac, char** av)
{
std::locale::global(std::locale(""));
cmSystemTools::EnableMSVCDebugHook();
....
}
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-04-13 02:48 zouguangxian New Issue
======================================================================
More information about the cmake-developers
mailing list