summaryrefslogtreecommitdiff
path: root/ext/Encode
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-02-06 09:26:53 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-02-06 09:26:53 +0000
commit315b3302253fddd0350dfb87e791a1cbf5584b20 (patch)
tree611eac74a0b68b8f67b5cf62b734f595d263887e /ext/Encode
parent151b5d361063dc7eb9d8b6b2fdaaa3560e39071e (diff)
downloadperl-315b3302253fddd0350dfb87e791a1cbf5584b20.tar.gz
Things forgotten from Encode 1.87.
p4raw-id: //depot/perl@18664
Diffstat (limited to 'ext/Encode')
-rw-r--r--ext/Encode/Unicode/Unicode.xs2
-rw-r--r--ext/Encode/t/CJKT.t2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/Encode/Unicode/Unicode.xs b/ext/Encode/Unicode/Unicode.xs
index 6cd39506eb..56e1bd1076 100644
--- a/ext/Encode/Unicode/Unicode.xs
+++ b/ext/Encode/Unicode/Unicode.xs
@@ -113,7 +113,7 @@ CODE:
endian = 'V';
}
else {
- croak("%"SVf":Unregognised BOM %"UVxf,
+ croak("%"SVf":Unrecognised BOM %"UVxf,
*hv_fetch((HV *)SvRV(obj),"Name",4,0),
bom);
}
diff --git a/ext/Encode/t/CJKT.t b/ext/Encode/t/CJKT.t
index 5421f2334a..97062df0dc 100644
--- a/ext/Encode/t/CJKT.t
+++ b/ext/Encode/t/CJKT.t
@@ -57,7 +57,7 @@ for my $charset (sort keys %Charset){
open $src, "<$src_enc" or die "$src_enc : $!";
- # binmode($src); # not needed!
+ binmode($src); # needed for UTF-8 input
$txt = join('',<$src>);
close($src);