OK, just checked and did a bit of debugging. As far as I can see, the
string that goes into the Info array is correct:
DEBUG[Identify]: Info[3] = "Name = "Zvi Har$,1ry(BEl$,1ry(Bs
Jules Verne Collection - Iceweasel""
DEBUG[Identify]: HEX OUTPUT
Name............ 4e 61 6d 65 20 20 20 20 20 20 20 20 20 20 20 20
.=."Zvi.Har...El 20 3d 20 22 5a 76 69 20 48 61 72 e2 80 99 45 6c
...s.Jules.Verne e2 80 99 73 20 4a 75 6c 65 73 20 56 65 72 6e 65
.Collection.-.Ic 20 43 6f 6c 6c 65 63 74 69 6f 6e 20 2d 20 49 63
eweasel"........ 65 77 65 61 73 65 6c 22 00 00 00 00 00 00 00 00
I'd suggest experimenting with a number of fonts and see what you get
to. For example, since the apostrophe isn't followed by a lot of
space in the <H1> section of that page, one could conclude that the
corresponding font doesn't have that same problem. That, or there's
something weird going on. Maybe XmbTextExtents() isn't the right
function to use to render the strings?
In message <[EMAIL PROTECTED]> on Wed, 17 Jan 2007 10:09:01 +0200, "Zvi Har'El"
<[EMAIL PROTECTED]> said:
rl> I am using
rl>
rl> TitleFont "-misc-fixed-bold-r-normal--13-*-*-*-*-*-iso10646-1".
rl>
rl> Howrever, if you use f.identify, you see exactly the same problem. I hope
this
rl> information can help somehow.
rl>
rl> On Tue, 16 Jan 2007 22:15:33 +0100, Richard Levitte - VMS Whacker wrote
about "Re: [ctwm] Re: Supporting Unicode and so on UTF-8":
rl> > In message <[EMAIL PROTECTED]> on Tue, 16 Jan 2007 21:36:58 +0200, "Zvi
Har'El" <[EMAIL PROTECTED]> said:
rl> >
rl> > rl> The problem in item #3, i.e., the extra space after the .AN4 (U+2019
rl> > rl> RIGHT SINGLE QUOTATION MARK) in http://jv.gilead.org.il/ still
rl> > rl> persists.
rl> >
rl> > Yup. That, however, is not a character encoding problem, at least
rl> > when the string is extracted from the WM_NAME (as you have noticed
rl> > yourself). Next thing to do is some debugging in the area around
rl> > where the title is actually put in place and see what string it gets.
rl> > If it still has the correct encoding, the only conclusion is that it's
rl> > a problem in Xlib or in the font.
rl> >
rl> > What font do you use for the title, btw?
rl> >
rl> > Cheers,
rl> > Richard
rl> >
rl> > -----
rl> > Please consider sponsoring my work on free software.
rl> > See http://www.free.lp.se/sponsoring.html for details.
rl> >
rl> > --
rl> > Richard Levitte [EMAIL PROTECTED]
rl> > http://richard.levitte.org/
rl> >
rl> > "When I became a man I put away childish things, including
rl> > the fear of childishness and the desire to be very grown up."
rl> > -- C.S. Lewis
rl>
rl> --
rl> Dr. Zvi Har'El mailto:[EMAIL PROTECTED] Department of Mathematics
rl> tel:+972-54-4227607 icq:179294841 Technion - Israel Institute of
Technology
rl> fax:+972-4-8293388 http://www.math.technion.ac.il/~rl/ Haifa 32000,
ISRAEL
rl> "If you can't say somethin' nice, don't say nothin' at all." -- Thumper
(1942)
rl> Wednesday, 27 Tevet 5767, 17 January 2007,
10:02AM