Project

General

Profile

Actions

Bug #2752

closed

File path encoding on mac os x and windows

Added by mame (Yusuke Endoh) about 14 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.2dev (2010-02-17 trunk 26700) [i686-linux]
Backport:
[ruby-dev:40439]

Description

=begin
成瀬さん
遠藤です。

File#path のエンコーディングは、File.new に与えられた文字列の
エンコーディングを保持しますか?

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

Linux では保持するようです。mac os x と windows では未決定だと
いう話なので、忘れないようにチケットにしておきます。
1.9.2 までに決めるべきだと思うので、urgent にしておきます。

--
Yusuke ENDOH
=end

Actions

Also available in: Atom PDF

Like0
Like0