This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
// Current host locale is used here, because user possibly wants to see man pages
// in locale of his development host, not in remote's host one.
final String DOT_UTF8 = ".UTF-8"; // NOI18N
exitStatus = NativeProjectSupport.execute(np, "man", new String[]{"MANWIDTH=" + Man2HTML.MAX_WIDTH, "LANG=" + Locale.getDefault().toString().trim().replace(DOT_UTF8, "") + DOT_UTF8}, "-S2:3", name); // NOI18N
String lang = Locale.getDefault().toString().trim();
if (lang.contains(DOT_UTF8)) {
lang = lang.replace(DOT_UTF8, "") + DOT_UTF8;
}
exitStatus = NativeProjectSupport.execute(np, "man", new String[]{"MANWIDTH=" + Man2HTML.MAX_WIDTH, "LANG=" + lang}, "-S2:3", name); // NOI18N
StringReader sr;
if (exitStatus != null) {