1 ;;; hello-world-utf8.el --- utf8 hello world server using Emacs Web Server
5 (with-slots (process headers) request
6 (let ((hellos '("こんにちは"
17 (ews-response-header process 200
18 '("Content-type" . "text/plain; charset=utf-8"))
19 (process-send-string process
20 (concat (nth (random (length hellos)) hellos) " world")))))))