From: 7stud -- Date: 2008-03-07T02:19:28+09:00 Subject: Re: Dir#.glob over accentuated named directories ??? Une B辿v ue wrote: > 7stud -- wrote: > >> >> What is a 'ruby utf-8 encoded file'? > > nothing more than an utf-8 encoded text file... > >> As an aside, how do you like TextMate? You might try running your >> program in Terminal to see if things make more sense. > > from Terminal i get : > > De##faut ( using ls -al ) > -ls- is most likely an ancient program written in C, and it doesn't know how to read or output UTF-8 characters. However, if you run your ruby program in terminal, Terminal is capable of displaying a UTF-8 character if given a UTF-8 character. It doesn't matter whether the UTf-8 character is part of a string that is a single work or whether the UTF-8 character is part of a string that is a path. -- Posted via http://www.ruby-forum.com/.