Bug 137075 - Apparent utf8 bug in Perl's join()
Summary: Apparent utf8 bug in Perl's join()
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: perl
Version: 3.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jason Vas Dias
QA Contact:
Depends On:
Blocks: 168424
TreeView+ depends on / blocked
Reported: 2004-10-25 17:48 UTC by Daniel Fisher
Modified: 2018-10-19 20:56 UTC (History)
3 users (show)

Clone Of:
Last Closed: 2005-12-20 14:57:52 UTC

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:881 normal SHIPPED_LIVE Moderate: perl security update 2005-12-20 05:00:00 UTC

Description Daniel Fisher 2004-10-25 17:48:00 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914

Description of problem:
(Submitting for a customer)

There is a bug in the 'join' function.
It is documented at:

Here is a test case:
use strict;
use Encode qw(is_utf8);
use Test::More qw(no_plan);
my $ascii = "abc\304";
my $utf8 = "abc\x{0100}";
for ($utf8, $ascii) {
my $res = join("", $_);
is(is_utf8($res), $_ eq $utf8);

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. create program specified above
2. program should come back with 2 OK's, but only comes back with 1

Additional info:

Comment 1 Marc David Rovner 2004-12-10 19:17:39 UTC

Comment 2 Marc David Rovner 2005-02-17 21:41:14 UTC
Still no update, eh?

Comment 6 Jason Vas Dias 2005-11-09 03:34:39 UTC
This is upstream perl bug '24846: Apparent utf8 bug in join()', 
fixed with upstream patch 22117, now applied to perl-5.8.0-90.2 in CVS .

Comment 10 Red Hat Bugzilla 2005-12-20 14:57:52 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.