[#29911] [Bug #3231] Digest Does Not Build — Charlie Savage <redmine@...>

Bug #3231: Digest Does Not Build

19 messages 2010/05/01

[#29920] [Feature #3232] Loops (while/until) should return last statement value if any, like if/unless — Benoit Daloze <redmine@...>

Feature #3232: Loops (while/until) should return last statement value if any, like if/unless

9 messages 2010/05/01

[#29997] years in Time.utc — Xavier Noria <fxn@...>

Does anyone have a precise statement about the years supported by

13 messages 2010/05/04

[#30010] [Bug #3248] extension 'tk' is finding tclConfig.sh and tkConfig.sh incorrectly — Luis Lavena <redmine@...>

Bug #3248: extension 'tk' is finding tclConfig.sh and tkConfig.sh incorrectly

9 messages 2010/05/05

[#30226] [Bug #3288] Segmentation fault - activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:88 — Szymon Jeż <redmine@...>

Bug #3288: Segmentation fault - activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:88

10 messages 2010/05/13

[#30358] tk doesn't startup well in doze — Roger Pack <rogerdpack2@...>

Currently with 1.9.x and tk 8.5,the following occurs

12 messages 2010/05/22

[ruby-core:30296] Re: [Bug #1685] Some windows unicode path issues remain

From: Bill Kelly <billk@...>
Date: 2010-05-18 10:30:53 UTC
List: ruby-core #30296
Hi,

Bill Kelly wrote:
>>
>> 1) matz: the grand designer of Ruby
>> 2) naruse: an authority of Ruby M17N
>> 3) me: main maintainer of Ruby on Windows
>> 4) all users of Ruby, of course, especially people using
>>    non-unicode (multibyte) environment
> 
> For #4, wouldn't we expect people using a non-unicode environment
> to *not* set their default_internal encoding to UTF-8 ?  So I
> would think they would not be affected.

Noticed an interesting ChangeLog entry from yesterday on
ruby_1_9_2 branch:

Mon May 17 11:09:58 2010  NAKAMURA Usaku  <usa@ruby-lang.org>

        merge from trunk (r27856, r27857)

        * lib/fileutils.rb (FileUtils::Entry_#entries): returns pathname in
          UTF-8 on Windows to allow FileUtils accessing all pathnames
          internally.

Index: lib/fileutils.rb
===================================================================
--- lib/fileutils.rb    (revision 27657)
+++ lib/fileutils.rb    (working copy)
@@ -1176,7 +1176,9 @@
     end

     def entries
-      Dir.entries(path())\
+      opts = {}
+      opts[:encoding] = "UTF-8" if /mswin|mignw/ =~ RUBY_PLATFORM
+      Dir.entries(path(), opts)\
           .reject {|n| n == '.' or n == '..' }\
           .map {|n| Entry_.new(prefix(), join(rel(), n.untaint)) }
     end
===================================================================



Would this approach also be considered for Dir.pwd:

  result = Dir.pwd(:encoding => "UTF-8")

?


If so, I already have the rb_w32_ugetcwd implementation (presented
in [ruby-core:30052] ).

I would be happy to provide a patch for Dir.pwd if this is
acceptable.


Regards,

Bill




In This Thread