<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="index" title="Text File" newcontext="true">
<p>
Received: with ECARTIS (v1.0.0; list gopher);
 Wed, 26 Oct 2005 16:03:35 -0500 (CDT)
Received: from dns2.eurnetcity.net ([80.68.196.9])
	by glockenspiel.complete.org with esmtp
	(Exim 4.50)
	id 1EUsQk-0005KX-7P
	for gopher@complete.org; Wed, 26 Oct 2005 16:03:34 -0500
Received: from brillante.route-add.net (postfix@brillante.route-add.net
 [80.68.194.26] (may be forged))
	by dns2.EurNetCity.NET (8.11.6p2-20030924/8.11.6) with SMTP id j9QKhTd15549
	for &lt;gopher@complete.org&gt;; Wed, 26 Oct 2005 22:43:30 +0200
Received: from [192.168.110.4] (marana [192.168.110.4])
	by brillante.route-add.net (Postfix) with ESMTP id 4249C1004
	for &lt;gopher@complete.org&gt;; Wed, 26 Oct 2005 23:02:37 +0200 (CEST)
Message-ID: &lt;435FEEEC.4080901@route-add.net&gt;
Date: Wed, 26 Oct 2005 23:02:36 +0200
From: Alessandro Selli &lt;dhatarattha@route-add.net&gt;
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.12) Gecko/20051014
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: gopher@complete.org
Subject: [gopher] Illegal or simply strange characters in gophermap
Content-type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
X-EurNetCity-MailScanner-Information: Please contact the ISP for more
 information
X-EurNetCity-MailScanner: Found to be clean
X-MailScanner-From: dhatarattha@route-add.net
X-Spam-Status: No (score 0.1): AWL=0.106
X-Virus-Scanned: by Exiscan on glockenspiel.complete.org at Wed,
 26 Oct 2005 16:03:34 -0500
X-archive-position: 1135
X-ecartis-version: Ecartis v1.0.0
Sender: gopher-bounce@complete.org
Errors-to: gopher-bounce@complete.org
X-original-sender: dhatarattha@route-add.net
Precedence: bulk
Reply-to: gopher@complete.org
List-help: &lt;mailto:ecartis@complete.org?Subject=help&gt;
List-unsubscribe: &lt;mailto:gopher-request@complete.org?Subject=unsubscribe&gt;
List-software: Ecartis version 1.0.0
List-Id: Gopher &lt;gopher.complete.org&gt;
X-List-ID: Gopher &lt;gopher.complete.org&gt;
List-subscribe: &lt;mailto:gopher-request@complete.org?Subject=subscribe&gt;
List-owner: &lt;mailto:jgoerzen@complete.org&gt;
List-post: &lt;mailto:gopher@complete.org&gt;
List-archive: &lt;http://www.complete.org/mailinglists/archives/&gt;
X-list: gopher
</p>
<p>  I recently developed a script to automate the conversion and copying
of files from an IMAPD server&#x27;s directory where I store Usenet messages
and a tree of directories where these files are fetched to be served by
the Gopher server.  The output filenames are the same as the Subject:
line in the Usenet messages, plus a numerical index if more like
Subject: lines are present.  The script also generates or updates the
gophermap file in each directory.
  Well, I found out I cannot access files whose name contains a
question mark, if i try I get this error message (bucktooth-0.1pr6):
</p>
<p>0&#x27;/Utenti/Alessandro/Usenet/it.comp.os.linux.sys/Re: Server Alpha,
distro &#x27; doesn&#x27;t exist!		error.host	1
.
</p>
<p>  The filename is: &quot;Re: Server Alpha, distro ?&quot; and the corresponding
gophermap line is:
</p>
<p>0Re: Server Alpha, distro ?     Re: Server Alpha, distro ?
</p>
<p>This is a nuisance considering the many subject: lines that are
encoded in RFC-1522 MIME format, such as:
</p>
<p>=?ISO-8859-1?Q?Re=3A_=5BOT=5D_Linux_kernel_FALLATO=3A_?=
</p>
<p>  Is this the right way a Gopher server is supposed to handle such
filenames?
</p>
<p>  I&#x27;m considering editing the script to convert all question marks
into something else; are there any more characters that I should
catch before creating the files and updating the gophermap?
</p>
<p>--
Alessandro Selli
Tel: 340.839.73.05
http://alessandro.route-add.net
</p>
<p></p>
</card>
</wml>
