Eric Blake scripsit: > [B]ut if filename is _not_ a character string in the current locale, then > the output would _not_ be a text file (among other things, a text file > has the property that at least one locale can interpret every byte > sequence in the file as valid characters).
Say what? The name of a file is not a byte sequence in the file. I don't see how it follows that because a file is a text file, its name is a character string in some locale. -- John Cowan http://ccil.org/~cowan co...@ccil.org In might the Feanorians / that swore the unforgotten oath brought war into Arvernien / with burning and with broken troth. and Elwing from her fastness dim / then cast her in the waters wide, but like a mew was swiftly borne, / uplifted o'er the roaring tide. --the Earendillinwe