[ruby-core:26526] [Bug #2333] __FILE__ macro should have unicode encoding

View: New views
4 Messages — Rating Filter:   Alert me  

[ruby-core:26526] [Bug #2333] __FILE__ macro should have unicode encoding

by Nobuyoshi Nakada-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bug #2333: __FILE__ macro should have unicode encoding
http://redmine.ruby-lang.org/issues/show/2333

Author: Vit Ondruch
Status: Open, Priority: Normal
ruby -v: ruby 1.9.2dev (2009-10-15) [i386-mswin32_90]

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.


----------------------------------------
http://redmine.ruby-lang.org


[ruby-core:26527] [Bug #2333](Rejected) __FILE__ macro should have unicode encoding

by Nobuyoshi Nakada-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Issue #2333 has been updated by Yui NARUSE.

Category set to M17N
Status changed from Open to Rejected

__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.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/2333

----------------------------------------
http://redmine.ruby-lang.org


[ruby-core:26529] [Bug #2333] __FILE__ macro should have unicode encoding

by Nobuyoshi Nakada-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Issue #2333 has been updated by Vit Ondruch.


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
----------------------------------------
http://redmine.ruby-lang.org/issues/show/2333

----------------------------------------
http://redmine.ruby-lang.org


[ruby-core:26530] [Bug #2333] __FILE__ macro should have unicode encoding

by Nobuyoshi Nakada-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Issue #2333 has been updated by Yui NARUSE.


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.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/2333

----------------------------------------
http://redmine.ruby-lang.org