< Sorry ** doesn't look like u00e4 >
http://www.supelec.fr/docs/cltl/clm/node181.html
Daniel
On Thu, Jul 24, 2008 at 11:09 AM, Dave Pawson dave.pawson@gmail.com wrote:
2008/7/24 Edi Weitz edi@agharta.de:
I think you are confused. In Lisp, characters and strings are really characters and strings.
CL-USER 6 > (char-name **) "Latin-Small-Letter-A-With-Diaeresis"
Sorry ** doesn't look like u00e4
If you want to convert between octets and characters (that's where encodings like UTF-8 make sense), most CL implementations have facilities for this out of the box. For portable solutions see for example here:
http://weitz.de/flexi-streams/ http://common-lisp.net/project/babel/
I don't want to convert, I want to read utf-8 from a file, work in 'characters', build them into strings and write them back to file, in utf-8
Any reason lisp should not enjoy that level of internationalisation?
It does already.
seems we have a different definition of 'working'.
regards
-- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk _______________________________________________ cl-ppcre-devel site list cl-ppcre-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/cl-ppcre-devel