Page 1 of 1

UTF-8 in LISP

Posted: Mon Sep 05, 2016 11:30 am
by harbinger
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

Posted: Tue Sep 06, 2016 11:32 pm
by Goheeca
Many lisp implementations support unicode characters in strings so you should look around libraries of this kind: trivial-utf-8, babel.

Re: UTF-8 in LISP

Posted: Wed Sep 07, 2016 5:22 am
by sylwester

Re: UTF-8 in LISP

Posted: Thu Sep 08, 2016 12:40 am
by harbinger
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

Posted: Thu Sep 08, 2016 4:05 am
by Goheeca
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.

Re: UTF-8 in LISP

Posted: Sat Sep 10, 2016 2:16 am
by harbinger
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.