Project

General

Profile

Actions

Bug #402

closed

default_external depends on the order of -K and -E

Added by sheepman (Takashi Tamura) over 15 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
Backport:
[ruby-dev:35745]

Description

=begin
こんにちは sheepman です。

Encoding.default_external は -K オプションと -E オプションの
順番に依存するようですが、こういうものなんでしょうか。

$ ruby-1.9 -v
ruby 1.9.0 (2008-08-03 revision 17593) [i686-linux]

$ ruby-1.9 -Ke -Eutf-8 -e 'p Encoding.default_external'
#Encoding:UTF-8

$ ruby-1.9 -Eutf-8 -Ke -e 'p Encoding.default_external'
#Encoding:EUC-JP

--
sheepman / TAMURA Takashi
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0