[#61822] Plan Developers Meeting Japan April 2014 — Zachary Scott <e@...>
I would like to request developers meeting around April 17 or 18 in this mo=
14 messages
2014/04/03
[#61825] Re: Plan Developers Meeting Japan April 2014
— Urabe Shyouhei <shyouhei@...>
2014/04/03
It's good if we have a meeting then.
[#61826] Re: Plan Developers Meeting Japan April 2014
— Zachary Scott <e@...>
2014/04/03
Regarding openssl issues, I=E2=80=99ve discussed possible meeting time with=
[#61833] Re: Plan Developers Meeting Japan April 2014
— Martin Bo煬et <martin.bosslet@...>
2014/04/03
Hi,
[#61847] Re: Plan Developers Meeting Japan April 2014
— Eric Wong <normalperson@...>
2014/04/03
Martin Boテ殕et <martin.bosslet@gmail.com> wrote:
[#61849] Re: Plan Developers Meeting Japan April 2014
— Zachary Scott <e@...>
2014/04/04
I will post summary of meeting on Google docs after the meeting.
[#61852] Re: Plan Developers Meeting Japan April 2014
— Eric Wong <normalperson@...>
2014/04/04
Zachary Scott <e@zzak.io> wrote:
[#61860] Re: Plan Developers Meeting Japan April 2014
— Zachary Scott <e@...>
2014/04/04
I=E2=80=99m ok with redmine, thanks for bringing up your concern!
[#62076] Candidacy to 2.1 branch maintainer. — Tomoyuki Chikanaga <nagachika00@...>
Hello,
7 messages
2014/04/17
[#62078] Re: Candidacy to 2.1 branch maintainer.
— SHIBATA Hiroshi <shibata.hiroshi@...>
2014/04/17
> And does anyone have counter proposal for 2.1 maintenance?
[ruby-core:61854] [ruby-trunk - Bug #1685] Some windows unicode path issues remain
From:
duerst@...
Date:
2014-04-04 10:38:27 UTC
List:
ruby-core #61854
Issue #1685 has been updated by Martin D=C3=BCrst.
On 2014/04/03 23:07, thomas@thomthom.net wrote:
> Issue #1685 has been updated by Thomas Thomassen.
=20
> In Ruby 2.0 there appear to still be several issues with Ruby and Unicod=
e characters in filenames. Dir.entries fail, load and require fail. __FILE_=
_ has the wrong encoding. I see some things slated for Ruby 2.2, but not ev=
erything.
=20
If you know of anything that's not yet in Ruby 2.2, please tell us, best=
=20
by opening a bug for each issue.
=20
Regards, Martin.
=20
=20
> ----------------------------------------
> Bug #1685: Some windows unicode path issues remain
> https://bugs.ruby-lang.org/issues/1685#change-46061
>
> * Author: B Kelly
> * Status: Assigned
> * Priority: Normal
> * Assignee: Usaku NAKAMURA
> * Category: M17N
> * Target version: next minor
> * ruby -v: ruby 1.9.2dev (2009-06-24) [i386-mswin32_71]
> * Backport:
> ----------------------------------------
> =3Dbegin
> Hi,
>
> I see some nice progress has been made in unicode path
> handling on windows.
>
> The following tests are not exhaustive, but do reveal some
> remaining issues.
>
> Everything below "NOT WORKING" fails in one way or another.
>
> Regards,
>
> Bill
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> # encoding: UTF-8
>
> # Test unicode path/dir handling on windows
>
> require 'test/unit'
>
> class TestUnicodeFilenamesAndPaths < Test::Unit::TestCase
> def setup
> tmpdir =3D ENV['TEMP'] || "C:/TEMP"
> Dir.chdir tmpdir
> puts Dir.pwd
> testdir =3D "ruby_unicode_test"
> Dir.mkdir testdir unless test ?d, testdir
> Dir.chdir testdir
> puts Dir.pwd
> end
>
> def test_unicode_paths
> fname_resume =3D "R\xC3\xA9sum\xC3\xA9".force_encoding("UTF-8")
> fname_chinese =3D "\u52ec\u52ee\u52f1\u52f2.txt"
> dname_chinese =3D "\u52ec\u52ee\u52f1\u52f2"
>
> assert_equal( "UTF-8", fname_resume.encoding.name )
> File.open(fname_resume, "w") {|io| io.puts "Hello, World"}
>
> assert_equal( "UTF-8", fname_chinese.encoding.name )
> File.open(fname_chinese, "w") {|io| io.puts "Hello, World"}
>
> dat =3D File.read(fname_chinese)
> assert_equal( "Hello, World\n", dat )
>
> files =3D Dir["*"]
> assert( files.include? fname_resume )
> assert( files.include? fname_chinese )
>
> # NOT WORKING:
> Dir.rmdir dname_chinese rescue nil
> Dir.mkdir dname_chinese
> test ?d, dname_chinese
> Dir.chdir dname_chinese
> cwd =3D Dir.pwd
> assert( cwd[(-dname_chinese.length)..-1] =3D=3D dname_chinese )
> Dir.chdir ".."
>
> x =3D File.stat(fname_resume)
> x =3D File.stat(fname_chinese)
> x =3D File.stat(dname_chinese)
>
> assert( File.exist? fname_resume )
> assert( File.exist? fname_chinese )
> assert( test(?f, fname_resume) )
> assert( test(?f, fname_chinese) )
>
> files =3D Dir[fname_resume]
> assert_equal( fname_resume, files.first )
> files =3D Dir[fname_chinese]
> assert_equal( fname_chinese, files.first )
> files =3D Dir[dname_chinese]
> assert_equal( dname_chinese, files.first )
> end
> end
> =3Dend
>
>
> ---Files--------------------------------
> spatulasnout-unicode-mkdir-diffs.txt (3.56 KB)
> test_io_unicode_paths.rb (925 Bytes)
>
>
----------------------------------------
Bug #1685: Some windows unicode path issues remain
https://bugs.ruby-lang.org/issues/1685#change-46070
* Author: B Kelly
* Status: Assigned
* Priority: Normal
* Assignee: Usaku NAKAMURA
* Category: M17N
* Target version: next minor
* ruby -v: ruby 1.9.2dev (2009-06-24) [i386-mswin32_71]
* Backport:=20
----------------------------------------
=3Dbegin
Hi,
=20
I see some nice progress has been made in unicode path
handling on windows.
=20
The following tests are not exhaustive, but do reveal some
remaining issues.
=20
Everything below "NOT WORKING" fails in one way or another.
=20
Regards,
=20
Bill
=20
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# encoding: UTF-8
=20
# Test unicode path/dir handling on windows
=20
require 'test/unit'
=20
class TestUnicodeFilenamesAndPaths < Test::Unit::TestCase
def setup
tmpdir =3D ENV['TEMP'] || "C:/TEMP"
Dir.chdir tmpdir
puts Dir.pwd
testdir =3D "ruby_unicode_test"
Dir.mkdir testdir unless test ?d, testdir
Dir.chdir testdir
puts Dir.pwd
end
=20=20=20
def test_unicode_paths
fname_resume =3D "R\xC3\xA9sum\xC3\xA9".force_encoding("UTF-8")
fname_chinese =3D "\u52ec\u52ee\u52f1\u52f2.txt"
dname_chinese =3D "\u52ec\u52ee\u52f1\u52f2"
=20
assert_equal( "UTF-8", fname_resume.encoding.name )
File.open(fname_resume, "w") {|io| io.puts "Hello, World"}
=20=20=20=20=20
assert_equal( "UTF-8", fname_chinese.encoding.name )
File.open(fname_chinese, "w") {|io| io.puts "Hello, World"}
=20=20=20=20=20
dat =3D File.read(fname_chinese)
assert_equal( "Hello, World\n", dat )
=20=20=20=20=20
files =3D Dir["*"]
assert( files.include? fname_resume )
assert( files.include? fname_chinese )
=20
# NOT WORKING:
Dir.rmdir dname_chinese rescue nil
Dir.mkdir dname_chinese
test ?d, dname_chinese
Dir.chdir dname_chinese
cwd =3D Dir.pwd
assert( cwd[(-dname_chinese.length)..-1] =3D=3D dname_chinese )
Dir.chdir ".."
=20
x =3D File.stat(fname_resume)
x =3D File.stat(fname_chinese)
x =3D File.stat(dname_chinese)
=20=20=20=20=20
assert( File.exist? fname_resume )
assert( File.exist? fname_chinese )
assert( test(?f, fname_resume) )
assert( test(?f, fname_chinese) )
=20
files =3D Dir[fname_resume]
assert_equal( fname_resume, files.first )
files =3D Dir[fname_chinese]
assert_equal( fname_chinese, files.first )
files =3D Dir[dname_chinese]
assert_equal( dname_chinese, files.first )
end=20=20
end
=3Dend
---Files--------------------------------
spatulasnout-unicode-mkdir-diffs.txt (3.56 KB)
test_io_unicode_paths.rb (925 Bytes)
--=20
https://bugs.ruby-lang.org/