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