The new features list for the very popular Tcl/Tk email client exmh on

  http://www.beedub.com/exmh/newfeatures.html

claims that exmh 2.1.2 uses Unicode under Tcl 8.1.

I just wanted to test this, but UTF-8 seems still not recognized as a
MIME charset (using Tcl 8.2). The code in mime.tcl looks very much like
old 8-bit code that just selects 8-bit fonts based on the MIME charset.
It does not seem to convert email bodies into Unicode and display
everything where available with a Unicode font, as it would be required
for displaying UTF-8 email. The only proper treatment of received UTF-8
that I could spot in exmh 2.1.2 was in addr.tcl for the LDAP results.

Did I miss something essential? What does the "Unicode support" in exmh
consist of? What do I have to do to display received UTF-8 email such as
the attached test text in a simple 16-bit Unicode font such as

  -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1

(which is now widely available with every XFree86 4.0 installation)?

Also is seems that Tk 8.2 can't use a 16-bit Unicode font directly. For
example the script

--------------------------------------------------------------------
#!/usr/bin/wish
set f "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
set t1 [text .t -font $f -width 40 -height 5]
pack $t1
$t1 insert end "forall=\u2200, euro=\u20ac, Amacron=\u0100, pi=\u03c0, \u201cdouble 
quotation marks\u201d, \u2018single quotation marks\u2019, integers=\u2124, 
sum=\u2211, linefeed=\u240a"
--------------------------------------------------------------------

displays the test message only partially using an ugly number of
different fonts, even though the specified *-iso10646-1 font contains
already all the required glyphs in a single consistent style.

Markus

-- 
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org,  WWW: <http://www.cl.cam.ac.uk/~mgk25/>

-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/

Reply via email to