我尝试了常见的 lisp hunchentoot-test。
当我上传带有非拉丁符号的 utf-8 文本文件时,上传文件的长度增加了。在完成文件中,插入了每个非拉丁符号的附加字节。我不明白为什么。上一个实验是在 digitalocean 上刚刚启动 ubuntu 系统。安装 emacs、clisp 和 slime。在 swank 中执行:
(ql:quickload "hunchentoot")
(ql:quickload "hunchentoot-test")
(hunchentoot:start (make-instance 'hunchentoot:easy-acceptor:port 4242))
在 127.0.0.1:4242/hunchentoot/test/upload.html 上看到问题就足够了