|
From: Tamas K P. <tk...@gm...> - 2012-03-17 15:39:18
|
Hi Don, On Sat 17 Mar 2012 03:52:49 PM CET, Don Geddis wrote: > Sounds like a LOCALE issue. SBCL -- and probably your (unix/linux?) > filesystem -- seem to be using UTF-8, but the original filenames were > probably written with a different encoding. Yes, I am using linux, and that's probably what happened. > In Lisp, you might have some luck with reading and writing as binary > streams, instead of as characters. In linux, take a look at "iconv", > which may be able to help you. Your suggestion helped me solve the issue: I used qmv (from renameutils) to generate a list of filenames, which I read as a binary file in an SBCL script that did the conversion. Thanks! Just curious: is it possible to read the path as some kind of binary stream directly in SBCL? Best, Tamas |