This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.

UTF-8 in LISP

6 posts · 7694 views

Greetings Lispers

Pleas can anyone explain or teach me how to use UTF-8 characters in lisp, while making GUI. for example I am a GEORGIAN and my native letters are :
ა,ბ,გ,დ,ე,ვ,ზ,თ,ი,კ,ლ,მ.... and so on. Are there any solution about it?

Thanks for attention :geek:

Re: UTF-8 in LISP

Many lisp implementations support unicode characters in strings so you should look around libraries of this kind: trivial-utf-8, babel.
cl-2dsyntax is my attempt to create a Python-like reader. My mirror of CLHS (and the dark themed version). Temporary mirrors of aferomentioned: CLHS and a dark version.

Re: UTF-8 in LISP

sylwester wrote:Related:
http://www.cliki.net/Unicode%20and%20Lisp
I will investigate this one and I'll see what can I implement.
Goheeca wrote:Many lisp implementations support unicode characters in strings so you should look around libraries of this kind: trivial-utf-8, babel.
are there other libraries for NON LINUX user. I am heavily using WINDOWS platform.

Re: UTF-8 in LISP

Trivial UTF-8 was written before Babel existed, but for new projects you might be better off going with Babel. The one plus that Trivial UTF-8 has is that it doesn't depend on any other libraries.
Babel is a charset encoding/decoding library, not unlike GNU libiconv, but completely written in Common Lisp.
There should be no problem and if you're struggling with the installation, look here at Quicklisp.
cl-2dsyntax is my attempt to create a Python-like reader. My mirror of CLHS (and the dark themed version). Temporary mirrors of aferomentioned: CLHS and a dark version.

Re: UTF-8 in LISP

Goheeca wrote:
Trivial UTF-8 was written before Babel existed, but for new projects you might be better off going with Babel. The one plus that Trivial UTF-8 has is that it doesn't depend on any other libraries.
Babel is a charset encoding/decoding library, not unlike GNU libiconv, but completely written in Common Lisp.
There should be no problem and if you're struggling with the installation, look here at Quicklisp.

I'll check it.