Man page rendering garbled due to unset LANG or LC_ALL
"–" characters in man pages are rendered as three alien characters in the shell.
With LANG or LC_ALL set to en_US, rendering is fixed.
#2 Updated by William Grzybowski over 3 years ago
- Status changed from Needs Developer Review to Unscreened
- Assignee set to Warren Block
That does not look right to me.
Default login.conf is en_US.UTF-8
Can you give an example of what looks wrong exactly without this change? I don't see any problems using "man".
#4 Updated by William Grzybowski over 3 years ago
Warren Block wrote:
Example attached. The mdocml (mandoc) mailing list does not have public archives, but reading there suggests (but is not clear) that this might be a bug, and might also be fixed in FreeBSD 11-stable.
Ok, thats because it is trying to render a UTF-8 character in the console which does not support that character.
I dont like this solution since it will render any other language (!= ascii) unusable.
#8 Updated by William Grzybowski over 3 years ago
There isn't much we can do here.
syscons does not support UTF-8 keymap.
If we remove UTF-8 for console to make man page render correctly from console, then iocage won't work.
I would vote to leave it as is, at least until newcons ("vt") is enabled by default (I was told it currently has problems with serial console).