Project

General

Profile

Actions

Bug #2333

closed

__FILE__ macro should have unicode encoding

Added by vo.x (Vit Ondruch) over 15 years ago. Updated about 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

Actions #1

Updated by naruse (Yui NARUSE) over 15 years ago

  • 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

Actions #2

Updated by vo.x (Vit Ondruch) over 15 years ago

=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

Actions #3

Updated by naruse (Yui NARUSE) over 15 years ago

=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: Atom PDF

Like0
Like0Like0Like0