with the Dir[" path "]
or Dir.glob
is it possible to glob the filenames with unicode or international
characters in it? Right now it is returning ???.mp3
to test it, you can grab some international characters at
with the Dir[" path "]
or Dir.glob
is it possible to glob the filenames with unicode or international
characters in it? Right now it is returning ???.mp3
to test it, you can grab some international characters at
I know this is an old post, but I was wondering if there is a way to do
this? I’ve been trying to use Ruby to do more of my scripting, but I
have to keep switching back to python because I can’t find a way to open
files that use unicode characters in their name. I’ve tried Ruby 1.9
which I thought would deal with this, but it doesn’t seem to work.
Am I missing something?
Any help is appreciated.
SpringFlowers AutumnMoon wrote:
with the Dir[" path "]
or Dir.globis it possible to glob the filenames with unicode or international
characters in it? Right now it is returning ???.mp3to test it, you can grab some international characters at
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs