[cmake-developers] [CMake 0013581]: UTF-8 encode compiler output instead of [NON-UTF-8-BYTE-0x??] escapes

Mantis Bug Tracker mantis at public.kitware.com
Wed Oct 10 03:56:10 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13581 
====================================================================== 
Reported By:                Nils Gladitz
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13581
Category:                   CTest
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-10-10 03:56 EDT
Last Modified:              2012-10-10 03:56 EDT
====================================================================== 
Summary:                    UTF-8 encode compiler output instead of
[NON-UTF-8-BYTE-0x??] escapes
Description: 
We've got a german language edition of visual studio 2010.
The included compiler generates diagnostic messages in german which may e.g.
contain umlauts (non ASCII).
Those umlauts are replaced by ctest with "[NON-UTF-8-BYTE-0x??]" sequences.

Would it be possible to convert the output from current local codepage to utf-8?

Alternatively I'm guessing using the unicode version of the involved win32
functions (CreateProcessW(?)) and converting the resulting UTF-16 output to
UTF-8 may also work.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-10-10 03:56 Nils Gladitz   New Issue                                    
======================================================================




More information about the cmake-developers mailing list