summaryrefslogtreecommitdiff
path: root/ext/Encode
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-05-03 13:01:23 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-05-03 13:01:23 +0000
commit982a40858f674867cfafb31f932f9f39f88b0682 (patch)
treeeaa605f3ef76d41a185e9d958f033f84d0691d64 /ext/Encode
parenta5564b91586ca6e07890b02adce83183fb2f1d0d (diff)
downloadperl-982a40858f674867cfafb31f932f9f39f88b0682.tar.gz
The EBCDIC remapping of the low 256 bites again.
p4raw-id: //depot/perl@16372
Diffstat (limited to 'ext/Encode')
-rw-r--r--ext/Encode/Encode.pm2
-rw-r--r--ext/Encode/lib/Encode/Guess.pm4
-rw-r--r--ext/Encode/t/fallback.t4
-rw-r--r--ext/Encode/t/guess.t4
-rw-r--r--ext/Encode/t/mime-header.t4
5 files changed, 18 insertions, 0 deletions
diff --git a/ext/Encode/Encode.pm b/ext/Encode/Encode.pm
index ccb0ade226..b9febc9961 100644
--- a/ext/Encode/Encode.pm
+++ b/ext/Encode/Encode.pm
@@ -601,6 +601,8 @@ constants via C<use Encode qw(:fallback_all)>.
In the future, you will be able to use a code reference to a callback
function for the value of I<CHECK> but its API is still undecided.
+The fallback scheme does not work on EBCDIC platforms.
+
=head1 Defining Encodings
To define a new encoding, use:
diff --git a/ext/Encode/lib/Encode/Guess.pm b/ext/Encode/lib/Encode/Guess.pm
index 2a84cc453a..b106a0457c 100644
--- a/ext/Encode/lib/Encode/Guess.pm
+++ b/ext/Encode/lib/Encode/Guess.pm
@@ -290,6 +290,10 @@ It is, after all, just a guess. You should alway be explicit when it
comes to encodings. But there are some, especially Japanese,
environment that guess-coding is a must. Use this module with care.
+=head1 TO DO
+
+Encode::Guess does not work on EBCDIC platforms.
+
=head1 SEE ALSO
L<Encode>, L<Encode::Encoding>
diff --git a/ext/Encode/t/fallback.t b/ext/Encode/t/fallback.t
index de7191fec1..11b484af67 100644
--- a/ext/Encode/t/fallback.t
+++ b/ext/Encode/t/fallback.t
@@ -8,6 +8,10 @@ BEGIN {
print "1..0 # Skip: Encode was not built\n";
exit 0;
}
+ if (ord("A") == 193) {
+ print "1..0 # Skip: EBCDIC\n";
+ exit 0;
+ }
$| = 1;
}
diff --git a/ext/Encode/t/guess.t b/ext/Encode/t/guess.t
index e27dfc842c..563bc6feb3 100644
--- a/ext/Encode/t/guess.t
+++ b/ext/Encode/t/guess.t
@@ -8,6 +8,10 @@ BEGIN {
print "1..0 # Skip: Encode was not built\n";
exit 0;
}
+ if (ord("A") == 193) {
+ print "1..0 # Skip: EBCDIC\n";
+ exit 0;
+ }
$| = 1;
}
diff --git a/ext/Encode/t/mime-header.t b/ext/Encode/t/mime-header.t
index 826efbfddd..238be30a60 100644
--- a/ext/Encode/t/mime-header.t
+++ b/ext/Encode/t/mime-header.t
@@ -12,6 +12,10 @@ BEGIN {
print "1..0 # Skip: Encode was not built\n";
exit 0;
}
+ if (ord("A") == 193) {
+ print "1..0 # Skip: EBCDIC\n";
+ exit 0;
+ }
$| = 1;
}