Thread View: news.software.readers
1 messages
1 total messages
Started by Rui Pedro Mendes Salgueiro
Fri, 11 Dec 1998 00:00
tin: ISO-latin chars
Author: Rui Pedro Mendes Salgueiro
Date: Fri, 11 Dec 1998 00:00
Date: Fri, 11 Dec 1998 00:00
86 lines
3664 bytes
3664 bytes
Hi.
I have just upgraded from a very old version of tin
(tin 1.3 950824BETA) to the latest (at the time when I went to
the ftp site) tin pre-1.4 release 981114.
Well, it is great and it does a lot of things that I wanted for
a long time (like much better threading, not caring about mouse
buttons being pressed which simplifies copy-and-paste), but ...
I can no longer see the accented characters (ISO-8859-1 chars)
like (� � � � � � � � � � � � � � � � � � � � � � � � � � � � � � �)
which tin 1.3 passes unchanged from the newserver to the xterm.
Instead I get a '?' replacing each non-ASCII char.
So, I read the man page and I found this:
MM_CHARSET (mm_charset)
Charset supported locally, [...]
Possible values include ISO-8859-X (where X is 1 to 10),
[...] If MIME_STRICT_CHARSET is
defined at the compile time, text in charset other
than the value of this parameter is considered not
displayable and represented as '?'. Otherwise, all
character sets are regarded as compatible with the
display.
Well, first I do have set MM_CHARSET in my options to the value ISO-8859-1:
...
74. MM_CHARSET : ISO-8859-1
...
But when I read a test post (which I wrote) and which has the header:
Content-Type: text/plain; charset=ISO-8859-1
It still substitutes the non-ascii chars by '?'.
This looks like a bug, no ?
Anyway, I decided to remove the MIME_STRICT_CHARSET option (I don't
know how conforming other people's newsreaders are, so I think it is
best that tin doesn't try to be too clever).
I used the following options:
./configure \
--with-editor=vim \
\
--disable-mime-strict-charset \
--with-mime-default-charset=ISO-8859-1 \
\
--with-spooldir=/usr/local/news/spool/articles \
--with-nov-dir=/usr/local/news/spool/overview \
--with-inews-dir=/usr/local/news/bin \
--with-libdir=/usr/local/news/db \
And I checked include/autoconf.h:
...
/* #undef MIME_STRICT_CHARSET */
...
Just to make sure:
% grep STRICT *.h
autoconf.h:/* #undef MIME_STRICT_CHARSET */
It is not being defined anywhere else (I also greped the other
directories: src, pcre, tools).
I recompiled tin twice. The second time I even uncommented the
line in include/autoconf.h. It now reads:
#undef MIME_STRICT_CHARSET
Tin keeps substituting the non-ascii chars by '?' :(
Any ideas ? In particular is this something I am doing wrong or should
I submit a bug report ?
--
http://www.mat.uc.pt/~rps/
.pt is Portugal| `Whom the gods love die young'-Menander (342-292 BC)
Europe | Villeneuve 50-82, Toivonen 56-86, Senna 60-94
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads