Article View: news.software.readers
Article #109635Re: Xnews BUG? XPAT search for national characters
From: itsy bitsy meowbot
Date: Sat, 14 Sep 2002 16:47
Date: Sat, 14 Sep 2002 16:47
23 lines
2324 bytes
2324 bytes
Thomas Adams wrote: > When I do an XPAT search e.g. for "abc" Xnews searches for > "[aA][bB][cC]". When I search for a string with a national character > e.g. "a�u" it searches for "[aA]�[uU]" and doesn't find anything even > if there are articles matching the search string. > > I'd like to call this a bug. Does anyone agree/disagree? The NNTP XPAT command really doesn't work all that well in the real world; it knows nothing about figuring out character sets and encodings, so it does tend to produce useless results when expressions like the one above are used. It is okay for ASCII and sometimes raw 8-bit characters (_if_ you know the charset used in advance), but that's about all. For a search like the one you are trying to perform to work successfully, the newsreader would need to download the headers (perhaps using XHDR), decode them as needed and identify the character sets, and then look for matching character patterns. That's a lot of work for a newsreader like xnews that doesn't already have proper MIME support, so living with the limitations of XPAT maybe isn't such a bad trade-off.
Technical Details
Message-ID:
<yKJg9.6699$s76.981@nwrddc02.gnilink.net>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!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc02.gnilink.net.POSTED!53ab2750!not-for-mailReferences:
<alvcra$1d0kd$1@ID-34.news.dfncis.de>Show Full Headers
Complete Article Headers
Message-ID: <yKJg9.6699$s76.981@nwrddc02.gnilink.net> Subject: Re: Xnews BUG? XPAT search for national characters Date: Sat, 14 Sep 2002 16:47:26 GMT From: itsy bitsy meowbot <53ab2750@meowing.net> References: <alvcra$1d0kd$1@ID-34.news.dfncis.de> 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!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc02.gnilink.net.POSTED!53ab2750!not-for-mail Newsgroups: news.software.readers Organization: a tyranny of meowing fascist censor cabalists X-No-Repost: yes Mail-Copies-To: nobody X-Meow: Wouf Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Lines: 22 NNTP-Posting-Host: 141.154.206.46 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc02.gnilink.net 1032022046 141.154.206.46 (Sat, 14 Sep 2002 12:47:26 EDT) NNTP-Posting-Date: Sat, 14 Sep 2002 12:47:26 EDT