File.open with ruby on windows with a unicode filename
Posted
by aussiegeek
on Stack Overflow
See other posts from Stack Overflow
or by aussiegeek
Published on 2010-04-30T06:00:45Z
Indexed on
2010/04/30
6:07 UTC
Read the original article
Hit count: 287
I have a script running on Ruby 1.9.1 on Windows 7
I've distilled my script down to
File.open("????.txt")
and still can't get it to work. I know there are issues with Ruby 1.9 filename handling on windows (Using the Windows ANSI library), but would be happy enough with a work around that is callable from Ruby
© Stack Overflow or respective owner