-
-
Save matthewrudy/140349 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):001:0> name = "réunion-journalière" | |
=> "r\303\251union-journali\303\250re" | |
irb(main):002:0> File.open(name, 'w'){|f| f.write 'x' } | |
=> 1 | |
irb(main):003:0> exit | |
$ ls -al | |
> total 36 | |
> drwxr-xr-x 2 rlivsey rlivsey 4096 Jul 3 22:00 . | |
> drwxrwxr-x 10 rlivsey rlivsey 4096 Jul 3 12:20 .. | |
> -rw-r--r-- 1 rlivsey rlivsey 4 Jul 3 21:53 r??union-journali??re | |
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
matthew@bumble:~/rlivsey$ irb --version | |
irb 0.9.5(05/04/13) | |
matthew@bumble:~/rlivsey$ ruby --version | |
ruby 1.8.6 (2007-09-24 patchlevel 111) [x86_64-linux] | |
matthew@bumble:~/rlivsey$ irb | |
irb(main):001:0> name = "réunion-journalière" | |
=> "r\303\251union-journali\303\250re" | |
irb(main):002:0> File.open(name, 'w'){|f| f.write 'x' } | |
=> 1 | |
irb(main):003:0> exit | |
matthew@bumble:~/rlivsey$ ls -la | |
total 12 | |
drwxr-xr-x 2 matthew matthew 4096 2009-07-03 23:27 . | |
drwxr-xr-x 15 matthew matthew 4096 2009-07-03 23:26 .. | |
-rw-r--r-- 1 matthew matthew 1 2009-07-03 23:27 réunion-journalière |
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
matthew@Rudyness:~/rlivsey$ irb --version | |
irb 0.9.5(05/04/13) | |
matthew@Rudyness:~/rlivsey$ ruby --version | |
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] | |
matthew@Rudyness:~/rlivsey$ irb | |
irb(main):001:0> name = "réunion-journalière" | |
=> "r\303\251union-journali\303\250re" | |
irb(main):002:0> File.open(name, 'w'){|f| f.write 'x' } | |
=> 1 | |
irb(main):003:0> exit | |
matthew@Rudyness:~/rlivsey$ ls -la | |
total 12 | |
drwxr-xr-x 2 matthew matthew 4096 2009-07-03 23:17 . | |
drwxr-xr-x 65 matthew matthew 4096 2009-07-03 23:16 .. | |
-rw-r--r-- 1 matthew matthew 1 2009-07-03 23:17 réunion-journalière |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment