Project

General

Profile

Actions

Bug #2333

closed

__FILE__ macro should have unicode encoding

Bug #2333: __FILE__ macro should have unicode encoding

Added by vo.x (Vit Ondruch) almost 16 years ago. Updated over 14 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-10-15) [i386-mswin32_90]
Backport:
[ruby-core:26526]

Description

=begin
On my Windows, the FILE macro is in local codepage. However, it should be in some encoding which could handle international characters, e.g. UTF-8.
=end

Updated by naruse (Yui NARUSE) almost 16 years ago Actions #1

  • Category set to M17N
  • Status changed from Open to Rejected

=begin
FILE has filesystem encoding, so locale codepage is intended.
When Ruby's Unicode support is well done,
filesystem encoding come to be UTF-8 and FILL also becomes UTF-8.
=end

Updated by vo.x (Vit Ondruch) almost 16 years ago Actions #2

=begin
So why is it rejected if it is valid point? Especially if I am using Ruby from win32-unicode-test branch and considering Matz words at ruby-core:20110
=end

Updated by naruse (Yui NARUSE) almost 16 years ago Actions #3

=begin
Because it is not a bug, current behavior is intended in this point,
even if a feature requst may accept.

This is to ease managing tickets which are absolutely BUG.
=end

Actions

Also available in: PDF Atom