Thread View: news.software.nn
8 messages
8 total messages
Started by Thilo Wunderlich
Tue, 15 Oct 1996 00:00
ISO trash in Subject: line ?
Author: Thilo Wunderlich
Date: Tue, 15 Oct 1996 00:00
Date: Tue, 15 Oct 1996 00:00
22 lines
1240 bytes
1240 bytes
Is there a way to deal with such Subject: lines ? From: Jochen.Schmitt@frankfurt.netsurf.de (Jochen Schmitt) Newsgroups: de.comm.internet.software Subject: =?ISO-8859-1?Q?Re:_Kennwort_speichern_unter_WIN95_DF=DC?= Date: Tue, 15 Oct 1996 16:17:35 GMT Message-ID: <32638d48.1174679@news.frankfurt.netsurf.de> References: <53su9s$p84@rs18.hrz.th-darmstadt.de> NNTP-Posting-Host: deck-74.frankfurt.netsurf.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Why does the ISO-8859-1 appear in that line at all ? Thilo -- Thilo Wunderlich c15o@zfn.uni-bremen.de or d00d@informatik.uni-bremen.de For Ice/Speedway/Longtrack/Grastrack http://www.zfn.uni-bremen.de/speedway
Re: ISO trash in Subject: line ?
Author: Georg Schwarz
Date: Sat, 19 Oct 1996 00:00
Date: Sat, 19 Oct 1996 00:00
35 lines
2216 bytes
2216 bytes
c15o@zfn.uni-bremen.de (Thilo Wunderlich) writes: >Is there a way to deal with such Subject: lines ? >From: Jochen.Schmitt@frankfurt.netsurf.de (Jochen Schmitt) >Newsgroups: de.comm.internet.software >Subject: =?ISO-8859-1?Q?Re:_Kennwort_speichern_unter_WIN95_DF=DC?= >Date: Tue, 15 Oct 1996 16:17:35 GMT >Message-ID: <32638d48.1174679@news.frankfurt.netsurf.de> >References: <53su9s$p84@rs18.hrz.th-darmstadt.de> >NNTP-Posting-Host: deck-74.frankfurt.netsurf.de >Mime-Version: 1.0 >Content-Type: text/plain; charset=ISO-8859-1 >Content-Transfer-Encoding: 8bit >Why does the ISO-8859-1 appear in that line at all ? because the poster put a non-ASCII character in the subject line (in this particular case a character from ISO-8859-1) and his newsreader correctly (as far as I can tell) encoded it. Now the reason why you see the =?ISO-8859-1? string instead of the correct character is that nn (I assume that you're using nn) does not handle such encoding. So it's entirely your (that is your software's) fault. BTW, there is a patch for 6.5.1 by Kristian K�hntopp which fixes that problem (it's still considered beta, AFAIK). He posted to this news group about it a while ago. Unfortunately, I cannot recall right now the URL where to download that patch. -- Georg Schwarz (schwarz@physik.tu-berlin.de, kuroi@cs.tu-berlin.de, PGP 2.6ui) Institut f�r Theoretische Physik +49 30 314-24254 FAX -21130 IRC kuroi Technische Universit�t Berlin http://itp1.physik.tu-berlin.de/~schwarz/
Re: ISO trash in Subject: line ?
Author: Kristian Köhntopp
Date: Sat, 19 Oct 1996 00:00
Date: Sat, 19 Oct 1996 00:00
48 lines
2507 bytes
2507 bytes
c15o@zfn.uni-bremen.de (Thilo Wunderlich) writes: >Is there a way to deal with such Subject: lines ? http://www.netuse.de/~kk/nn-6.5.1.patch.gz is a patch relative to nn-6.5.1.tar.gz. This patch is more advanced that the nn-6.5.0.b3-patch I posted to this newsgroup some time ago. It adds support for several character sets and RFC 1521 and RFC 1522 _de_coding. I am not currently working on further development of this patch due to severe working overload, but I will return to the nn sources for more MIME support at some undetermined future time. Currently there is no support for _en_coding and only rudimentary code for it. >Subject: =?ISO-8859-1?Q?Re:_Kennwort_speichern_unter_WIN95_DF=DC?= >Why does the ISO-8859-1 appear in that line at all ? Because it has an uppercase u umlaut (=DC) as the last character. The final word in this Subject line is "DF-U-Umlaut", short for "Datenfernuebertragung" (remote data communications). The encoding is correct to the point that there actually _is_ an 8bit character in the subject line and it is from the iso-8859-1 character set. The original line could be successfully decoded from the encoded data. The encoding is somewhat incorrect, because it is too aggressive: MIME encourages you to choose the weakest encoding possible for your content. Most words in the above subject line can be represented in us-ascii, so it is useless to encode them in a single iso-8859-1 monster word. A more conservative equivalent encoding would have been >Subject: Re: Kennwort speichern unter WIN95 =?iso-8859-1?q?DF=DC?= Kristian -- Kristian Koehntopp, Wassilystrasse 30, 24113 Kiel, +49 431 688897 "Eat. Drink. Be happy. For tomorrow we die." "Well, humans can be a very depressing people." -- Sheridan, Delenn, Babylon 5
Re: ISO trash in Subject: line ?
Author: Bill Wohler
Date: Mon, 21 Oct 1996 00:00
Date: Mon, 21 Oct 1996 00:00
14 lines
1098 bytes
1098 bytes
c15o@zfn.uni-bremen.de (Thilo Wunderlich) writes: >Is there a way to deal with such Subject: lines ? >Why does the ISO-8859-1 appear in that line at all ? It's part of an RFC 1522 encoding of 8-bit characters in the header. See http://ds.internic.net/rfc/rfc1522.txt for more info. -- Bill Wohler <wohler@newt.com> ph: +1-415-854-1857 fax: +1-415-854-3195 Say it with MIME. Maintainer of comp.mail.mh and news.software.nn FAQs. If you're passed on the right, you're in the wrong lane.
Re: ISO trash in Subject: line ?
Author: Martin Forssen
Date: Tue, 22 Oct 1996 00:00
Date: Tue, 22 Oct 1996 00:00
51 lines
2243 bytes
2243 bytes
kris@koehntopp.de (Kristian K�hntopp) writes:
>c15o@zfn.uni-bremen.de (Thilo Wunderlich) writes:
>>Is there a way to deal with such Subject: lines ?
>http://www.netuse.de/~kk/nn-6.5.1.patch.gz
>is a patch relative to nn-6.5.1.tar.gz. This patch is more
>advanced that the nn-6.5.0.b3-patch I posted to this newsgroup
>some time ago.
>It adds support for several character sets and RFC 1521 and RFC
>1522 _de_coding. I am not currently working on further
>development of this patch due to severe working overload, but I
>will return to the nn sources for more MIME support at some
>undetermined future time. Currently there is no support for
>_en_coding and only rudimentary code for it.
Code like this is desperately needed in nn. Michael are you listening?
I tried the patch above but had a couple of problems. Firstly it
assumes that one have some data-files which were not included but
which one can generate with recode; I choose to remove the references
to them . The other problem was a genuine bug; tolower is sometimes
implemented as a macro and it is therefore not a good idea to increment
the arguments in the call. A patch is enclosed below.
/MaF
*** chset.c.old Tue Oct 22 10:54:56 1996
--- chset.c Tue Oct 22 10:45:12 1996
***************
*** 149,156 ****
if (p == NULL)
return NULL;
! while (*p)
! *p = tolower(*p++);
return q;
}
--- 149,158 ----
if (p == NULL)
return NULL;
! while (*p) {
! *p = tolower(*p);
! p++;
! }
return q;
}
Re: ISO trash in Subject: line ?
Author: Kristian Köhntopp
Date: Thu, 24 Oct 1996 00:00
Date: Thu, 24 Oct 1996 00:00
71 lines
3098 bytes
3098 bytes
maf@math.chalmers.se (Martin Forssen) writes:
>Code like this is desperately needed in nn. Michael are you listening?
>I tried the patch above but had a couple of problems. Firstly it
>assumes that one have some data-files which were not included but
>which one can generate with recode; I choose to remove the references
>to them.
You seem to have a problem with your patch or another problem.
The *.tab-files are included in the patch, see the
patch-listing below. Patch should have created a tables
directory within your nn source tree and installed the tables
into it.
>The other problem was a genuine bug; tolower is sometimes
>implemented as a macro and it is therefore not a good idea to increment
>the arguments in the call. A patch is enclosed below.
Acknowledged. Will be fixed and I will install an improved
patch in the old location as soon as possible.
Kristian
The patch listing (Read PATCH.RFC1522 for more information,
read the main code in chset.c, go and write a mimeify for me
and make the location of aux.sh configurable while you are at
it):
kk@nuki:~/public_html> gzip -dc nn-6.5.1.patch.gz |
> grep "^diff" |
> awk '{ print $NF }'
nn-6.5.1.patched/PATCH.RFC1522
nn-6.5.1.patched/answer.c
nn-6.5.1.patched/aux.sh
nn-6.5.1.patched/chset.c
nn-6.5.1.patched/chset.h
nn-6.5.1.patched/conf/s-NeXT3.h
nn-6.5.1.patched/conf/s-linux.h
nn-6.5.1.patched/db.c
nn-6.5.1.patched/global.c
nn-6.5.1.patched/global.h
nn-6.5.1.patched/man/nn.1.C
nn-6.5.1.patched/mimeify.c
nn-6.5.1.patched/more.c
nn-6.5.1.patched/news.c
nn-6.5.1.patched/news.h
nn-6.5.1.patched/nntp.c
nn-6.5.1.patched/pack_name.c
nn-6.5.1.patched/save.c
nn-6.5.1.patched/tables/applemacxiso.tab
nn-6.5.1.patched/tables/atarixiso.tab
nn-6.5.1.patched/tables/cp437xiso.tab
nn-6.5.1.patched/tables/cp850xiso.tab
nn-6.5.1.patched/tables/decxiso.tab
nn-6.5.1.patched/tables/isoxapplemac.tab
nn-6.5.1.patched/tables/isoxatari.tab
nn-6.5.1.patched/tables/isoxcp437.tab
nn-6.5.1.patched/tables/isoxcp850.tab
nn-6.5.1.patched/tables/isoxdec.tab
nn-6.5.1.patched/tables/isoxnext.tab
nn-6.5.1.patched/tables/nextxiso.tab
nn-6.5.1.patched/term.c
nn-6.5.1.patched/variable.c
nn-6.5.1.patched/xmakefile
kk@nuki:~/public_html> exit
logout
Connection closed by foreign host.
--
T minus 7
Re: ISO trash in Subject: line ?
Author: Kristian Köhntopp
Date: Thu, 24 Oct 1996 00:00
Date: Thu, 24 Oct 1996 00:00
17 lines
1208 bytes
1208 bytes
maf@math.chalmers.se (Martin Forssen) writes: > The other problem was a genuine bug; tolower is sometimes >implemented as a macro and it is therefore not a good idea to increment >the arguments in the call. A patch is enclosed below. Fixed. kk@nuki:~/public_html> l nn* -rw-r--r-- 1 kk guest 23908 Oct 24 17:02 nn-6.5.1.patch.gz -rw-r--r-- 1 kk guest 23952 Sep 17 09:07 nn-6.5.1.patch.gz.old Kristian -- T minus 7
Re: ISO trash in Subject: line ?
Author: Michael T Pins
Date: Fri, 25 Oct 1996 00:00
Date: Fri, 25 Oct 1996 00:00
37 lines
2392 bytes
2392 bytes
maf@math.chalmers.se (Martin Forssen) writes: >kris@koehntopp.de (Kristian Kvhntopp) writes: >>c15o@zfn.uni-bremen.de (Thilo Wunderlich) writes: >>>Is there a way to deal with such Subject: lines ? >>http://www.netuse.de/~kk/nn-6.5.1.patch.gz >>is a patch relative to nn-6.5.1.tar.gz. This patch is more >>advanced that the nn-6.5.0.b3-patch I posted to this newsgroup >>some time ago. >>It adds support for several character sets and RFC 1521 and RFC >>1522 _de_coding. I am not currently working on further >>development of this patch due to severe working overload, but I >>will return to the nn sources for more MIME support at some >>undetermined future time. Currently there is no support for >>_en_coding and only rudimentary code for it. >Code like this is desperately needed in nn. Michael are you listening? >I tried the patch above but had a couple of problems. Firstly it >assumes that one have some data-files which were not included but >which one can generate with recode; I choose to remove the references >to them . The other problem was a genuine bug; tolower is sometimes >implemented as a macro and it is therefore not a good idea to increment >the arguments in the call. A patch is enclosed below. It'll be in nn-6.6 (which will also have MIME support). Assuming nothing unexpected happens, I hope to have it available for beta testing in a few weeks. -- ************************************************************************** * Michael T Pins | mtpins@isca.uiowa.edu * * keeper of the nn sources | mtpins@winternet.com * * ftp.isca.uiowa.edu | #include <std.disclaimer> *
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