Actions
Bug #1658
closedEncoding.name_list Returns Dummy Encodings Contrary to Documentation
Description
=begin
Encoding.name_list returns dummy encodings, but the rdoc claims it won't.
Encoding.name_list.map {|e| Encoding.find(e)}.compact.select {|e| e.dummy?}
#=> [#<Encoding:ISO-2022-JP (dummy)>,
#<Encoding:ISO-2022-JP (dummy)>,
#<Encoding:ISO-2022-JP-2 (dummy)>,
#<Encoding:ISO-2022-JP-2 (dummy)>,
#<Encoding:CP50221 (dummy)>,
#<Encoding:UTF-7 (dummy)>,
#<Encoding:UTF-7 (dummy)>
=end
Actions
Like0
Like0Like0