Problem

Solution

  1. (defun writeToFile (name content)
  2.   (with-open-file (stream  name :external-format charset:iso-8859-1
  3.                            :direction :output
  4.                            :if-exists :overwrite
  5.                            :if-does-not-exist :create )
  6.   (format stream content))
  7. name)

Explanation

References