9fans archive / 1998 / 09 / 43 /    prev next

From: Tom Duff td@pix...
Subject: No subject
Date: Tue, 8 Sep 1998 09:10:53 -0700

> When I see the codes in rdhtml.c, I found that
> the latin2utf() assumes the runes are latines, not
> more large, say three byte utfs such as Japanese.

I don't think this code makes any assumptions
about the Runes.  It just translates incoming
latin1 text into utf.

> Are there any special purpose to use this coding?

I wrote mothra, and worked on it until I left Bell
Labs two years ago.

I just assumed that since the html standard specifies
that the character set is latin1, I ought to convert
latin1 to utf on input.  Obviously if you prefer to
read JIS, you can change latin2utf appropriately.


-- 
Tom Duff.  It may be inelegant and sluglike, but bloatware sells.