hi,I'm a common lisp beginner.does anyone can tell me how to convert gbk utf8 and unicode strings to each other?
thx!
how to convert utf8 string to unicode string?
Re: how to convert utf8 string to unicode string?
This is an implementation-specific question. Please see your implementation's documentation. Look for phrases like "external encoding" or "external format".
e.g.
http://www.sbcl.org/manual/index.html#External-Formats
http://ccl.clozure.com/manual/chapter4.5.html
http://www.clisp.org/impnotes/open.html
e.g.
http://www.sbcl.org/manual/index.html#External-Formats
http://ccl.clozure.com/manual/chapter4.5.html
http://www.clisp.org/impnotes/open.html
-
- Posts: 406
- Joined: Sat Mar 07, 2009 6:17 pm
- Location: Brazil
- Contact:
Re: how to convert utf8 string to unicode string?
If you want to create a program that is portable across different implementations, you may try one of those libraries:
Trivial UTF-8, simple portability layer,
CL-Unicode, which deals with more atributes of unicode,
Babel, which deals with several charset encodings, not just unicode.
Trivial UTF-8, simple portability layer,
CL-Unicode, which deals with more atributes of unicode,
Babel, which deals with several charset encodings, not just unicode.