-
-
Save domgetter/86c6c1b8bce83f559c4c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
irb(main):008:0> # encoding: utf-8 | |
irb(main):009:0* Dir["*"].first | |
=> "\u00FE.txt" | |
irb(main):010:0> Dir["*"].first.encoding | |
=> #<Encoding:IBM437> | |
irb(main):011:0> Dir["*"].first | |
=> "?.txt" | |
irb(main):012:0> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment