I'm having problems displaying utf-8 characters.

I compile with the following info,

  uname -a      : SunOS droid 5.7 Generic_106541-08 sun4u
  gcc -version  : 2.95.2

  $ ./configure --prefix=/tools/mutt
                --with-iconv=/tools/libiconv
                --enable-locales-fix
                --without-wc-funcs

Where libiconv is GNU's 1.7 version.  I then proceed to 'make' and get
the following failure,

  make[2]: Entering directory `/download/mutt-1.4'
  gcc -DPKGDATADIR=\"/tools/mutt/share/mutt\"
      -DSYSCONFDIR=\"/tools/mutt/etc\"
      -DBINDIR=\"/tools/mutt/bin\"
      -DMUTTLOCALEDIR=\"/tools/mutt/share/locale\"
      -DHAVE_CONFIG_H=1 -I. -I.  -Iintl
      -I/tools/libiconv/include -I./intl
      -I/tools/mutt/include  -Wall -pedantic -g -O2 -c patchlist.c
  In file included from mutt.h:51,
                   from patchlist.c:5:
  charset.h:42: parse error before `ICONV_CONST'
  make[2]: *** [patchlist.o] Error 1
  make[2]: Leaving directory `/download/mutt-1.4'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/download/mutt-1.4'
  make: *** [all-recursive-am] Error 2
  User CPU: 11.95  System: 2.99  I/O: /  Time: 0:17.91

I then proceed to modify 'charset.h' and include on line 40 the following
line (setting/defining all the ICONV in config.h doesn't do it for me),

  #define ICONV_CONST const

I then do 'make' and 'make install' without incident.

Once I invoke mutt and view my sample mbox with utf-8 characters in it
(which a friend is able to see without a problem on FreeBSD) I see some
correct glyphs and lots of octals,

\207

\206\203

so in all, there are a few correct glyphs but the majority of them are
octals.

Why is this happening ? and what can I do to correct it (or debug it) ?

I've seen similar questions (on the archives) without any responses,
so please HELP !!!!!!

Regards,

 .tf.


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

Reply via email to