[#63592] [ruby-trunk - Bug #10009] IO operation is 10x slower in multi-thread environment — normalperson@...
Issue #10009 has been updated by Eric Wong.
3 messages
2014/07/08
[#63682] [ruby-trunk - Feature #10030] [PATCH] reduce rb_iseq_struct to 296 bytes — ko1@...
Issue #10030 has been updated by Koichi Sasada.
3 messages
2014/07/13
[#63703] [ruby-trunk - Feature #10030] [PATCH] reduce rb_iseq_struct to 296 bytes — ko1@...
Issue #10030 has been updated by Koichi Sasada.
3 messages
2014/07/14
[#63743] [ruby-trunk - Bug #10037] Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make — ngotogenome@...
Issue #10037 has been updated by Naohisa Goto.
3 messages
2014/07/15
[#64136] Ruby 2.1.2 (and 2.1.1 and probably others) assumes a libffi with 3 version numbers in extconf.rb — "Jeffrey 'jf' Lim" <jfs.world@...>
As per subject.
4 messages
2014/07/31
[#64138] Re: Ruby 2.1.2 (and 2.1.1 and probably others) assumes a libffi with 3 version numbers in extconf.rb
— "Jeffrey 'jf' Lim" <jfs.world@...>
2014/07/31
On Thu, Jul 31, 2014 at 6:03 PM, Jeffrey 'jf' Lim <[email protected]>
[ruby-core:64088] [ruby-trunk - Bug #9712] [Closed] Dir.entries replace Unicode character with questionmarks
From:
e@...
Date:
2014-07-27 21:45:07 UTC
List:
ruby-core #64088
Issue #9712 has been updated by Zachary Scott.
Status changed from Assigned to Closed
I think the current documentation explains this well, so closing.
```
/*
* call-seq:
* Dir.entries( dirname ) -> array
* Dir.entries( dirname, encoding: enc ) -> array
*
* Returns an array containing all of the filenames in the given
* directory. Will raise a <code>SystemCallError</code> if the named
* directory doesn't exist.
*
* The optional <i>enc</i> argument specifies the encoding of the director=
y.
* If not specified, the filesystem encoding is used.
*
* Dir.entries("testdir") #=3D> [".", "..", "config.h", "main.rb"]
*
*/
```
----------------------------------------
Bug #9712: Dir.entries replace Unicode character with questionmarks
https://bugs.ruby-lang.org/issues/9712#change-48097
* Author: Thomas Thomassen
* Status: Closed
* Priority: Normal
* Assignee: Zachary Scott
* Category: doc
* Target version: current: 2.2.0
* ruby -v: ruby 2.2.0dev (2014-04-07 trunk 45528) [i386-mswin32_100]
* Backport: 2.0.0: DONTNEED, 2.1: DONTNEED
----------------------------------------
My basis when testing this is that I have a computer with English OS - code=
page Windows-1252. The tests might yield different result if the Windows co=
depage is different - so please pay attention to that if you are unable to =
reproduce.
Given a folder named "Foo" which contains a sub-folder "=E3=81=A6=E3=81=99=
=E3=81=A8" ("\u3066\u3059\u3068") Dir.entries("Foo") will return:
[".", "..", "???"]
The characters that doesn't fit my filesystem codepage is translated into q=
uestion marks.
I would have expected the strings returned to be in some Unicode format.
--=20
https://bugs.ruby-lang.org/