- 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).
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.