Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't know about other systems, but on Plan 9, where UTF-8 was invented, troff handles it just fine:

http://plan9.bell-labs.com/magic/man2html/1/troff



groff does it with the help of its preconv(1), also invoked with groff's -k option.

    $ printf 'Hello ①②③\n' | preconv
    .lf 1 -
    Hello \[u2460]\[u2461]\[u2462]
    $ printf 'Hello ①②③\n' | groff -k -Tutf8 | grep .
    Hello ①②③
    $


Yeah, but UTF8's not acceptable to the IETF Secretariat.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: