Bug 385376 - [DBCS4.2] Binary name is garbled if a project name includes national characters using Cygwin toolchain
Summary: [DBCS4.2] Binary name is garbled if a project name includes national characte...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: Next   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 04:08 EDT by Takehiko Ishii CLA
Modified: 2020-09-04 15:25 EDT (History)
6 users (show)

See Also:


Attachments
screenshot of the problem (35.74 KB, image/png)
2012-07-18 04:13 EDT, Takehiko Ishii CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Takehiko Ishii CLA 2012-07-18 04:08:52 EDT
Build Identifier: Version: 4.2.0 Build id: I20120608-1400 (I20120713)

OS: Windows 7 SP1 Professional Japanese Edition (64bit)
JDK: java full version JRE 1.7.0 IBM Windows AMD 64 build
pwa6470sr1-20120405_01(SR1)
Locale:Japanese

CDT SDK: cdt-SDK-8.1.0-win32.x86_64
Toolchain: Cygwin GCC

I created a C++ project with Cygwin GCC toolchain whose name includes national characters (in Japanese). I created a simple main.cpp within it and built the project, then a binary was created but the name was garbled. 
(Running the C++ program was fine even though the name is garbled)

BTW if we use MinGW GCC toolchain, national characters in a binary name are displayed correctly and also run correctly.

Reproducible: Always

Steps to Reproduce:
0. install cygwin on Japanese Windows 7 64bit and add a bin directory of cygwin into the top of PATH environmental variable of Windows
1. create C++ project with Cygwin GCC toolchain including national characters like Japanese in its name
2. create a main.cpp source file with a simple main function
(just "return 0;" within it )
3. build project
4. check a binary built at the step 3 on project explorer

Actual:
A binary is created under "Binary" section, but national characters in the binary name is garbled. 

Expected:
A binary is created under "Binary" section and national characters in the binary name is displayed correctly.
Comment 1 Takehiko Ishii CLA 2012-07-18 04:13:46 EDT
Created attachment 218853 [details]
screenshot of the problem

screen-shot of the problem. National characters in a binary name are garbled.