discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc and UTF-8 support.
@ 2011-05-11 20:42 Kristaps Dzonsons
       [not found] ` <20110515.194157.759326979137963596.hrs@ec.ss.titech.ac.jp>
  0 siblings, 1 reply; 2+ messages in thread
From: Kristaps Dzonsons @ 2011-05-11 20:42 UTC (permalink / raw)
  To: hrs, discuss

[-- Attachment #1: Type: text/plain, Size: 877 bytes --]

Hiroki (note CC'd to the mdocml mailing list),

This regards today's conversation about mdocml and Japanese characters 
at the FreeBSD summit.

Enclosed is a screenshot of a locally-modified mandoc producing 
on-terminal UTF-8 glyphs for kanji (I have NO IDEA what these characters 
mean, I just picked them from the Unicode reference).  I hacked this in 
as a demonstrandum that it's possible to have UTF-8 output without much 
effort.

I used the groff \U'xxxx' input escape sequence to specify Unicode 
input.  Unfortunately, this doesn't seem to be officially supported by 
groff.

   http://lists.gnu.org/archive/html/groff/2000-04/msg00036.html

My question is this: do you know of the most reliable to feed groff 
Unicode codepoints?  I'm not sure when a -Tutf8 will exist for mandoc, 
but the screenshot demonstrates that it's in principle possible.

Thanks,

Kristaps

[-- Attachment #2: screen.png --]
[-- Type: image/png, Size: 24546 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-15 15:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-11 20:42 mandoc and UTF-8 support Kristaps Dzonsons
     [not found] ` <20110515.194157.759326979137963596.hrs@ec.ss.titech.ac.jp>
2011-05-15 15:31   ` Kristaps Dzonsons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).