openmcl handles utf8 decently
I tested openmcl recently to see if it can store and print UTF-8 without harming it. Worked like a charm. You can most likely attribute this to CLHS 13.1.3 that says a character is a non-negative integer. In Lisp, an integer has no upper bound.
testing-utf8.lisp:
(defvar *utf8* "πΈπΉπΆπ°πΉ: π
πΏπ»ππΉπ»π°")
(format t "~A" *utf8*)
$ openmcl -l testing-utf8.lisp
; loading system definition from
; /Users/stevej/.openmcl/asdf-install/asdf-install.asd into #<Package "ASDF0">
; registering #<SYSTEM ASDF-INSTALL #x63BD006> as ASDF-INSTALL
πΈπΉπΆπ°πΉ: π
πΏπ»ππΉπ»π°
Welcome to OpenMCL Version (Beta: Darwin) 0.14.2-p1!
?
Awesome!


![[Atom Enabled]](http://saladwithsteve.com/valid-atom.png)
0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home