Closed p5pRT closed 21 years ago
# UTF-encoded things my $utf8 = chr(0xFEFF); $i++; do_require(qq(${utf8}print "ok $i\n"; 1;\n)
Should EBCDIC machines support utf8 ?
Here some explanation about the cause of the problem. The test script build the bleah.pm with following contents in Hex written:ef bb bf c2 97 c2 99 c2 89 c2 95 c2 a3 40 7f c2 96 c2 92 40 c3 b1 15 7f 5e 40 c3 b1 5e 15 The first three characters (\ef \bb \bf) are the utf8-mark followed by the "BpBrBiBnBt "BoBk" We can see that EBCDIC characters are utf-8-ized.
In toke.c the first three bytes are removed (in swallow_bom) but utf-8-ized characters are not converted back to normal bytes.
-- Ignasi Roca
@jhi - Status changed from 'open' to 'resolved'
I'm closing off some of the older Not OK reports. If you still have problems\, please report them using Perl 5.8.0.
@jhi - Status changed from 'open' to 'resolved'
Migrated from rt.perl.org#5142 (status was 'resolved')
Searchable as RT5142$