Hi,

not sure at all about this one, but on my windows XP pro French, 

doing a Dir.entries.each on a folder with accented letter doesn't gives
UTF-8 back but rather the local encoding for my filesystem :

in a folder containing the sub-folders: 
t?t?
?f?l 

this script:
file = File.open("ouput.txt","w").binmode
Dir.new("d:/test_accent").each{ |dir|
 file.puts dir
 }

spits out a latin1 file (windows-1252, i guess) and not a unicode one
when run using ruby -KU.

I would have expected ruby to give back UTF8 values when using the
standard library.

Should I convert the latin1 to UTF-8 by myself ?
Thanks a lot,
-- 
Pierre Baillet
Ruby: happy 1.8.0!