nuntius wrote:A couple questions:
- What happens if you run CCL from the MSWin command line ("Run Program" "cmd")?
- Does (compile-file filename) print any errors or warnings?
Maxxum wrote:What is "/1828 ISO-8859-1"? The file path is correct.
(defun convert-file-encoding (file-encoding target-encoding file)
"Converts `file' from `file-encoding' to `target-encoding'"
(with-open-file (in file
(with-open-file (out (string-downcase
(format nil "~A.~A" file target-encoding))
(loop for line = (read-line in nil)
do (princ line out))))
Maxxum wrote:When I run my program, it reads some control file. But my program breaks because the control file cannot be opened or read (not sure)?
This is the input stream when break happens #<BASIC-FILE-CHARACTER-INPUT-STREAM ("D:/CONTROL/control-file.66"/1828 ISO-8859-1) #x141EFE57D>
What is "/1828 ISO-8859-1"? The file path is correct.
Users browsing this forum: No registered users and 2 guests