Project

General

Profile

Actions

Bug #5919

closed

File singleton methods (expand_path, realpath, dirname, basename, extname) should respect encodings

Added by nobu (Nobuyoshi Nakada) about 12 years ago. Updated about 12 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.0.0dev (2012-01-20 trunk 34347) [i386-mingw32]
Backport:
[ruby-dev:45145]

Description

パス名を扱うFileの特異メソッドで引数のパスのエンコーディングが無視されています。


Files

file_encoding.diff (32 KB) file_encoding.diff nobu (Nobuyoshi Nakada), 01/21/2012 12:04 PM

Related issues 2 (0 open2 closed)

Related to Ruby master - Bug #2154: filesystem encoding of UNIXRejectednaruse (Yui NARUSE)Actions
Has duplicate Backport193 - Backport #6681: migw32 で utf-8 のスクリプトで「版」で終わるディレクトリの File.basename Closed07/01/2012Actions
Actions

Also available in: Atom PDF

Like0
Like0