Hi!
I'm not sure what should be the right behavior. Currently, a latin-1 encoding will be used for the filenames. There is very little code to change in the runtime system to use UTF-8 encoding for the filenames, but this means that filesystems using plain character (latin-1) encoding for filenames will stop working. I could add a configure option, such as --enable-path-encoding=UTF-8 . But that begs the question: what's the right default? Is the default OS dependent?
Marc
I think additional parameter for encoding in functions like open-directory will be enough for the first time. Something like that: (open-directory char-encoding: utf-8 "abcdefабвгд") or make it like path-or-settings.
Or make global parameter (pathname-encoding).
And do not bother with locales for now.
Vasil