Open TheMasterOfMagic opened 6 years ago
Yeah, it's entirely possible that Um itself messed this up. It's also possibly that the man program doesn't know what to do with unicode in a .roff file. Will look into it.
Thanks!
Yeah, it's entirely possible that Um itself messed this up. It's also possibly that the man program doesn't know what to do with unicode in a .roff file. Will look into it.
Not your fault. The default groff
on macOS doesn't support Unicode (ref).
With a recent groff
from MacPorts or Homebrew, you can get proper display of UTF-8 symbols with something like this:
kramdown -i markdown ~/.um/pages/shell/rsync.md -o man | groff -k -Tutf8 -man | less
…but that kind of defeats the purpose of um
. The -k
option is key here, but that option is not present in the groff
that comes with macOS, which is too old.
Not sure the way forward for um
, because this isn't necessarily a problem with Kramdown or um
, it's the OS-default groff
that's the obstacle.
I edited the page like this and when I read it, it outputs like this am I missing something or um dose not support unicode character now?