Public feed #2048485

Guile UTF8 filename issue

public text v1 · immutable
Raw Edit
·published 2011-04-20 00:26 UTC
rendered paste body
;; Run the following script using Guile 2.0, after "mkdir tmp && cd tmp && touch 'Müller'"

(let ((dir (opendir ".")))
  (do ((entry (readdir dir) (readdir dir)))
      ((eof-object? entry))
    (write (list entry (file-exists? entry)))
    (newline)))