projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
78d3e1b
)
No need to show internal encodings, or return them
Jarkko Hietaniemi [Thu, 10 Jan 2002 17:47:34 +0000 (17:47 +0000)]
in random order.
p4raw-id: //depot/perl@14169
ext/Encode/Encode.pm
patch
|
blob
|
blame
|
history
diff --git
a/ext/Encode/Encode.pm
b/ext/Encode/Encode.pm
index
76257d4
..
cd94038
100644
(file)
--- a/
ext/Encode/Encode.pm
+++ b/
ext/Encode/Encode.pm
@@
-61,7
+61,12
@@
our %winlatin2cp = (
sub encodings
{
my ($class) = @_;
- return keys %encoding;
+ return
+ map { $_->[0] }
+ sort { $a->[1] cmp $b->[1] }
+ map { [$_, lc $_] }
+ grep { $_ ne 'Internal' }
+ keys %encoding;
}
sub findAlias