{"author_url":"https://blog.hatena.ne.jp/shammer/","image_url":null,"title":"CLISP string size","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshammerism.hatenadiary.com%2Fentry%2F20110514%2Fp1\" title=\"CLISP string size - Shammer&#39;s Philosophy\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"CLISP \u3067\u3082\u6587\u5b57\u5217\u306e\u30b5\u30a4\u30ba\u3092\u8abf\u3079\u305f\u3044\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308c\u3070\u3067\u304d\u308b\u3088\u3046\u3060\u3002 (defun utf-8-string-byte-size (s) (if (stringp s) (length (ext:convert-string-to-bytes s (ext:encoding-charset \"UTF-8\"))) 0)) Clozure CL \u3068\u30cf\u30a4\u30d7\u30ea\u30c3\u30c9\u306b\u3059\u308b\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308c\u3070\u3044\u3044\u3001\u3001\u3001\u306f\u305a\u3002 (defun utf-8-string-byte-size (s) (if (stringp s) #+CCL (string-size-in-octets s :external-form\u2026","provider_url":"https://hatena.blog","published":"2011-05-14 00:00:00","version":"1.0","categories":["Lisp"],"type":"rich","width":"100%","url":"https://shammerism.hatenadiary.com/entry/20110514/p1","blog_url":"https://shammerism.hatenadiary.com/","blog_title":"Shammer's Philosophy","author_name":"shammer","height":"190"}