I've got a CL filter I'm using to process news postings (this very
post ran through it); I am running into the following problem:
> (processnews)
Process file:C:\HOME\NEWS\drafts\drafts\5
Output location: C:\HOME\movehome\news\x3182784084.5
*** - invalid byte #x81 in CHARSET:ISO-8859-1 conversion
1. Break NEWS[2]> where
EVAL frame for form (READ-LINE INS NIL 'EOF)
By looking at a backtrace, I can see that what it's "freaking at" is
that it's reading a line with a name that contains a "funny
international accent," which presumably isn't fitting well into
ISO-8859-1.
Relevant code fragment:
(with-open-file (inp-stream input-file)
(format outs "From: cbbro...@hex.net~%")
(format outs "Reply-to: cbbro...@hex.net~%")
(do ((line (read-line inp-stream)
(read-line inp-stream nil 'eof)))
((eq line 'eof) "Reached end of file.")
(rewrite-line line outs)))
Now, I had been _thinking_ that all this readtable stuff that has been
causing such bluster was pretty irrelevant to me, and that I could,
for the time being, just ignore it from a practical perspective.
It now seems otherwise; it seems as if I need to attach some sort of
readtable information _somewhere_; I'm not quite clear on where.
--
(concatenate 'string "cbbrowne" "@hex.net")
<http://www.ntlug.org/~cbbrowne/>
Economists are still trying to figure out why the girls with the least
principle draw the most interest.