Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.92k stars 549 forks source link

RE: Not OK: perl v5.7.0 +DEVEL8325 on os390 05.00 (UNINSTALLED) #3109

Closed p5pRT closed 21 years ago

p5pRT commented 23 years ago

Migrated from rt.perl.org#5142 (status was 'resolved')

Searchable as RT5142$

p5pRT commented 23 years ago

From ignasi.roca@fujitsu.siemens.es

# 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

p5pRT commented 21 years ago

@jhi - Status changed from 'open' to 'resolved'

p5pRT commented 21 years ago

From @jhi

I'm closing off some of the older Not OK reports. If you still have problems\, please report them using Perl 5.8.0.

p5pRT commented 21 years ago

@jhi - Status changed from 'open' to 'resolved'