Question on UTF-8 output over CGI
Jean Louis <[email protected]> Fri, 28 Sep 2018 04:16:15 +0200
| Newsgroups | gmane.lisp.clisp.general |
|---|---|
| Message-ID | <[email protected]> |
Hello, This one here works over CGI: (defun headers () (format t "Content-type: text/plain~2%")) (headers) (princ "Hello there") (exit) but this one does not work: (defun headers () (format t "Content-type: text/plain~2%")) (headers) (princ "Hello there č") (exit) Why I cannot output UTF-8 over CGI? I have tried setting these below, none is helping: (defun set-encodings () ;; (setf custom:*terminal-encoding* "utf-8") ;; (setf custom:*misc-encoding* "utf-8") ;; (setf custom:*pathname-encoding* "utf-8") ;; (setf custom:*foreign-encoding* "utf-8") ;; (setf custom:*default-file-encoding* "utf-8") ) -- Jean Louis _______________________________________________ clisp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-list