r11101: clisp ext form
authorKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 5 Sep 2006 21:57:18 +0000 (21:57 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 5 Sep 2006 21:57:18 +0000 (21:57 +0000)
create-sql.lisp

index 6a31d422a4e5be388a55885c80bfe8abd094b1ee..fdc444c9cf2bd8fb1279674bff3f8e5c0e414cf0 100644 (file)
@@ -282,7 +282,9 @@ This is much faster that using create-umls-db-insert."
   (let ((output-path (ufile-pathname out-ufile extension)))
     (if (probe-file output-path)
        (format t "File ~A already exists: skipping~%" output-path)
-      (with-open-file (ostream output-path :direction :output)
+      (with-open-file (ostream output-path :direction :output
+                               #+(and clisp unicode) :external-format
+                               #+(and clisp unicode) charset:utf-8)
        (dolist (input-ufile input-ufiles)
          (with-umls-ufile (line input-ufile)
            (translate-line out-ufile line ostream)