[Win32utils-devel] win32-dir, unicode

Daniel Berger djberg96 at gmail.com
Fri May 26 00:27:13 EDT 2006


I've got a preliminary version of the pure Ruby version of win32-dir in 
CVS.  However, I was hoping to work out the Unicode issue.  Run this:

from = "C:\\test"
to = "Ελλάσ"
Dir.mkdir(from) unless File.exists?(from)
Dir.create_junction(to, from)

It works, but my explorer (and dos) window shows the name garbled.  I 
don't think it's a font encoding issue within Explorer, since I can 
create a folder called "Ελλάσ" manually within Explorer and it looks 

Any ideas?


More information about the win32utils-devel mailing list