[osicat-devel] walk-directory does not support unicode filename and diretoryname?

It seems walk-directory will skip files and directories whose name is in Unicode, such as Chinese. Is this a bug? Test platform: Mac OS 10.7 Lion, Clozure Common Lisp 1.8 Test Code: (require "asdf") (require "osicat") (defpackage :com.losttemple.zip-db (:use :common-lisp :osicat)) (in-package :com.losttemple.zip-db) (walk-directory (current-directory) #'(lambda (x) (format t "~a~%" (absolute-pathname x))) :test #'(lambda (x) (format t "---~a~%" (absolute-pathname x)) t) :directories :depth-first) (in-package :common-lisp-user) (quit) -- --------------------------- Achilles Xu

On 6 February 2012 11:22, Achilles Xu <formalin14@gmail.com> wrote:
It seems walk-directory will skip files and directories whose name is in Unicode, such as Chinese.
Is this a bug?
Test platform: Mac OS 10.7 Lion, Clozure Common Lisp 1.8
Sounds like a strange interaction between CCL and CFFI -- could not reproduce on SBCL. Can you provide a tarball that has filenames that cause you trouble? What locale are you using? Cheers, -- Nikodemus
participants (2)
-
Achilles Xu
-
Nikodemus Siivola