Re: Demoroniser (was: Display Filters)
On 2006-07-07, Gary Johnson <garyjohn@xxxxxxxxxxxxxxx> wrote:
> On 2006-07-07, Alain Bench <veronatif@xxxxxxx> wrote:
> > On Thursday, July 6, 2006 at 11:15:45 -0700, Gary Johnson wrote:
> >
> > > iconv: (stdin): cannot convert
> >
> > Argl! I think I maybe get what?s happening. You have libiconv
> > installed, and any checks will for sure show it works OK. But Mutt
> > doesn?t use it?
[...]
> So I have built and installed locally GNU libiconv-1.9.2 and am in
> the process of building mutt-1.5.11, downloaded from www.mutt.org.
> I thought as long as I was going to reconfigure and rebuild mutt, I
> might as well get a more recent version, and if I build libiconv and
> iconv myself, I'll know what I have.
>
> I also discovered that there are three iconv commands in my PATH:
>
> /opt/TWWfsw/bin/iconv
> /bin/iconv
> /usr/bin/iconv
>
> (The last two are identical.) So I have been using
> /opt/TWWfsw/bin/iconv for our tests, while I'm pretty sure that none
> of configure, make or mutt knew or know anything of the existence of
> the corresponding libraries /opt/TWWfsw/libiconv18/lib/ and
> /opt/TWWfsw/libiconv19/lib--neither is in $LD_LIBRARY_PATH.
>
> I'll let you know what happens with this.
Yay! I have made the following changes to my setup:
1. Downloaded and built libiconv-1.9.2.
2. Put its iconv in a directory early in my PATH.
3. Added to my ~/.profile:
LD_LIBRARY_PATH=/home/garyjohn/src/SunOS/libiconv-1.9.2/lib:$LD_LIBRARY_PATH
4. Downloaded and built mutt-1.5.11 with:
./configure --prefix=/home/garyjohn/src/SunOS/mutt-1.5.11
--with-curses=/home/garyjohn/src/SunOS/ncurses-5.4
--with-libiconv-prefix=/home/garyjohn/src/SunOS/libiconv-1.9.2
--enable-buffy-size --enable-debug
Now I see ?s in your first paragraph and following "And describe and
quote me back what you see here:" (without adding those lines to my
muttrc), and, if I 'set charset="iso-8859-1//TRANSLIT"', I see real
apostrophes and an ellipsis in your first paragraph and I see this:
And describe and quote me back what you see here: EUR f o/oo
Also,
$ ldd /home/garyjohn/bin/SunOS/mutt
libiconv.so.2 =>
/home/garyjohn/src/SunOS/libiconv-1.9.2/lib/libiconv.so.2
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /opt/TWWfsw/gcc332r/lib/libgcc_s.so.1
libdl.so.1 => /usr/lib/libdl.so.1
/usr/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1
(Hmm. There are more differences there than I would have expected,
but I'm not going to worry about it until something breaks. I did
deliberately leave out POP support from this build.)
I may not be all the way to seeing all characters as I should, but
this is way better than what I had and I think it's a solid
foundation from which I can fix other problems.
The next step is to put
set charset="iso-8859-1//TRANSLIT"
in my muttrc and remove the iso8859toascii [sic] from all my
display_filter's.
In the long term, I should probably try to set up a UTF-8
environment, but I think I'll see how this current environment works
first.
Thank you so much for all the help, Alain. I'm sure I'll be back
with more questions. And please let me know if there is something
you see that I've overlooked.
Regards,
Gary
--
Gary Johnson | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx | Wireless Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA