perl-unicode

[Encode 1.30] BOM32LE was incorrect - fixed

2002-04-08 07:11:17
Anton,

On Monday, April 8, 2002, at 10:05 , Anton Tagunov wrote:
--- ext/Encode-1.30/lib/Encode/Unicode.pm.orig  Mon Apr  8 14:06:28 2002
+++ ext/Encode-1.30/lib/Encode/Unicode.pm       Mon Apr  8 17:00:47 2002
@@ -12,7 +12,7 @@
 sub FBCHAR(){ 0xFFFd }
 sub BOM_BE(){ 0xFeFF }
 sub BOM16LE(){ 0xFFFe }
-sub BOM32LE(){ 0xFeFF0000 }
+sub BOM32LE(){ 0xFFFe0000 }
[snip]

Thanks. Applied. I will also fix t/Unicode.t to use a hard-coded value of BOM instead of the one fetched out of Unicode.pm -- two errors cancel each other.

Dan the Encode Maintainer