🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #81466

XNEWS: Error with � in URL

#81466
From: Erland Sommarskog
Date: Sun, 15 Jul 2001 14:03
22 lines
1857 bytes
Click this URL:

   http://www.usenet-se.net/f�rslag/forslag-se-samlevnad-sexualitet.txt

This will give a Not Found message, and if you look in the browser you
will see that the � has been changed to a "smart quote". What has happened
is that somewhere along the line the text has been converted from the
OEM character set (the charset used by command-line tools) to ANSI.
Unfortunately, the text was never converted from ANSI to OEM when the 
URL was passed to the command-line world, so the conversions happens
now causes the error. (Had there first been an ANSI-to-OEM conversion,
the URL would have worked, provided that the character is both charsets.)

I guess that Luu has no control over the OEM-to-ANSI conversion, but if
you have no better way to spend a Sunday afternoon, you can change Xnews
so that it converts from ANSI to OEM first. ...but I rather saw that
you added configurable "Posted and mailed" messages.

-- 
Erland Sommarskog, Stockholm, sommar@algonet.se

Technical Details
Message-ID: <Xns90DFA365D2D11Yazorman@127.0.0.1>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!194.213.69.151!news.algonet.se!algonet!pepsi.tninet.se!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Xns90DFA365D2D11Yazorman@127.0.0.1>
Subject: XNEWS: Error with � in URL
Date: Sun, 15 Jul 2001 14:03:46 +0000
From: Erland Sommarskog <sommar@algonet.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!194.213.69.151!news.algonet.se!algonet!pepsi.tninet.se!not-for-mail
Newsgroups: news.software.readers
Organization: BRF Beckasinen 13
Lines: 21
NNTP-Posting-Host: kairos.algonet.se
X-Trace: zingo.tninet.se 995205826 18175 194.213.75.171 (15 Jul 2001 14:03:46 GMT)
X-Complaints-To: abuse@algo.net
NNTP-Posting-Date: 15 Jul 2001 14:03:46 GMT
User-Agent: Xnews/4.06.11