From: naruse@... Date: 2016-03-01T04:08:34+00:00 Subject: [ruby-core:74078] [Ruby trunk Bug#12127] LANG environment is not respected Issue #12127 has been updated by Yui NARUSE. I can't reproduce it. Could you show `ruby/ruby -ve "p Encoding.find('locale');puts ''.encoding"`? ---------------------------------------- Bug #12127: LANG environment is not respected https://bugs.ruby-lang.org/issues/12127#change-57229 * Author: Vit Ondruch * Status: Feedback * Priority: Normal * Assignee: * ruby -v: * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- Ruby 2.2: ~~~ $ ruby -v ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-linux] $ ruby -e "puts ''.encoding" US-ASCII $ LANG=en_US.utf-8 ruby -e "puts ''.encoding" UTF-8 ~~~ Ruby 2.3: ~~~ $ ruby -v ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux] $ ruby -e "puts ''.encoding" US-ASCII $ LANG=en_US.utf-8 ruby -e "puts ''.encoding" US-ASCII ~~~ -- https://bugs.ruby-lang.org/ Unsubscribe: