diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-02-06 09:26:53 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-02-06 09:26:53 +0000 |
commit | 315b3302253fddd0350dfb87e791a1cbf5584b20 (patch) | |
tree | 611eac74a0b68b8f67b5cf62b734f595d263887e /ext/Encode | |
parent | 151b5d361063dc7eb9d8b6b2fdaaa3560e39071e (diff) | |
download | perl-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.xs | 2 | ||||
-rw-r--r-- | ext/Encode/t/CJKT.t | 2 |
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); |