Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion truffle/src/main/ruby/core/encoding.rb
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ def build_encoding_map
%w[internal external locale filesystem].each { |name|
key = name.upcase.to_sym
enc = get_default_encoding(name)
index = enc ? map[enc.name].last : nil
index = enc ? map[enc.name.upcase.to_sym].last : nil
map[key] = [name, index]
}
map

0 comments on commit d8379e6

Please sign in to comment.