[Bug #2752] File path encoding on mac os x and windows

Bug #2752: File path encoding on mac os x and windows
http://redmine.ruby-lang.org/issues/show/2752

e$B5/I<<Te(B: Yusuke E.
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Urgent
e$BC4Ev<Te(B: Yui NARUSE, e$B%+%F%4%je(B: M17N, Target version: 1.9.2
ruby -v: ruby 1.9.2dev (2010-02-17 trunk 26700) [i686-linux]

[email protected]@%$5$se(B
e$B1sF#$G$9!#e(B

File#path e$B$N%(%s%3!<%G%#%s%0$O!"e(BFile.new
e$B$KM?$($i$l$?J8;zNs$Ne(B
e$B%(%s%3!<%G%#%s%0$rJ];}$7$^$9$+!)e(B

File.new(path).path.encoding.should == path.encoding

Linux e$B$G$OJ];}$9$k$h$&$G$9!#e(Bmac os x e$B$He(B windows
[email protected]$He(B
e$B$$$&OC$J$N$G!"K:$l$J$$$h$&$K%A%1%C%H$K$7$F$$-$^$9!#e(B
1.9.2 e$B$^[email protected]$H;W$&$N$G!"e(Burgent e$B$K$7$F$
$-$^$9!#e(B


Yusuke ENDOH [email protected]

e$B%A%1%C%He(B #2752 e$B$,99?7$5$l$^$7$?!#e(B (by Yui NARUSE)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

This issue was solved with changeset r26832.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


http://redmine.ruby-lang.org/issues/show/2752

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs