From: unbewusst.sein@... (=?ISO-8859-1?Q?Une_B=E9v?= =?ISO-8859-1?Q?ue?=) Date: 2008-03-06T23:50:05+09:00 Subject: Re: Dir#.glob over accentuated named directories ??? 7stud -- wrote: > That is your display device's > interpretation of the string. fine, thanks ;-) in fact this is due to my text editor (TextMate); i did the following experiment : make a folder on desktop with an accentuated character e run the script : puts "Defaut" # here the e is accentuated as the folder on desktop Dir.glob( "/Users/yt/Desktop/*" ).each { | f | puts f } on "RubyMate" (the TextMate "console") i get the right think but copying from "RubyMate" to a ruby utf-8 encoded file (still within TextMate) i get e' (e ans the accent apart)... -- Une B�vue