- Run NetBeans C/C++ in multi-byte locale (such as "ja" or "zh" on Solaris 10)
- Set toolset to "OracleSolarisStudio"
- Open/Create sample projcect (e.g. Welcome)
- Build proejct
The output from localized Oracle Solaris Studio can not be displayed in the output window. The characters are corrupted.
All the characters are displayed when executed in UTF-8 locale (e.g. ja_JP.UTF-8 on Solaris 10). This problem is caused only when non UTF-8 locale is used.
And also, this problem is not caused when GNU tools are being used because GNU tools does not output localized characters (it's always English).
Created attachment 101041 [details]
screen-shot on "ja" locale in Solaris 10.
The output from dmake is corrupted when executing in "ja" locale in Solaris 10.
Created attachment 101043 [details]
screen-shot on "ja_JP.UTF-8" locale in Solaris 10
All the characters are displayed correctly in ja_JP.UTF-8 locale.
Can you set your encoding in C/C++ > Build Tools > Encoding list box in Options window?
Created attachment 101047 [details]
"Encoding" list box
Thank you, soldatov. The multi-byte characters are displayed correctly by configuring Encoding.
Solaris 10 "ja" locale : EUC-JP
Solaris 10 "zh" locale : GB2312
It's not a bug, but a user error. I close this as resolved/invalid.
Again, thank you.