<html>
<head>
</head>
<body>
<div style="word-wrap:break-word">
<div><br>
</div>
I have a file of s-expressions, which includes foreign language characters, that I am reading in as follows:
<div><br>
</div>
<div>
<div> (defun test (file)</div>
<div> (with-open-file (stream file)</div>
<div> (loop while (read stream nil nil))))</div>
</div>
<div><br>
</div>
<div>It reads the file without errors in ccl 1.8, but throws an error under 1.9:</div>
<div><br>
</div>
<div>
<div>? (test "/users/markklein/desktop/naples.text")</div>
<div>> Error: Reader error: Illegal symbol syntax.</div>
<div>> While executing: CCL::%PARSE-TOKEN, in process Listener(5).</div>
<div>> Type cmd-. to abort, cmd-\ for a list of available restarts.</div>
<div>> Type :? for other options.</div>
<div>1 > </div>
<div><br>
</div>
<div>Does anyone have any ideas what is going wrong, and how to fix it?</div>
<div><br>
</div>
<div>I’ve attached the file, zipped.</div>
<div><br>
</div>
<div> Thanks!</div>
<div><span class="x_Apple-tab-span" style="white-space:pre"></span></div>
<div><span class="x_Apple-tab-span" style="white-space:pre"></span>Mark</div>
<div><br>
</div>
<div>
<div>
<div style="color:rgb(0,0,0); letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; word-wrap:break-word">
<div style="orphans:2; widows:2">-------------------------------<br>
Mark Klein<br>
<a href="http://cci.mit.edu/klein">http://cci.mit.edu/klein</a></div>
<div style="orphans:2; widows:2"><br>
Principal Research Scientist<br>
Center for Collective Intelligence<br>
Massachusetts Institute of Technology<br>
<br>
Visiting Researcher<br>
Dynamic and Distributed Information Systems Group<br>
University of Zurich</div>
<div style="orphans:2; widows:2"><br>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="word-wrap:break-word">
<div>
<div></div>
</div>
</div>
</body>
</html>