Skip Menu |
 

This queue is for tickets about the Encode CPAN distribution.

Report information
The Basics
Id: 54111
Status: open
Priority: 0/
Queue: Encode

People
Owner: Nobody in particular
Requestors: jason21ce [...] 163.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: use encoding can not work in threads
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1264754031-18075-19"
Content-Length: 0
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 61
use encoding 'euc-cn', STDIN => 'euc-cn', STDOUT => 'euc-cn';
Subject: 未命名.bmp
MIME-Version: 1.0
Content-Type: image/bmp; name="未命名.bmp"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline; filename="未命名.bmp"
Content-Transfer-Encoding: base64
Content-Length: 1099830
Download 未命名.bmp
image/bmp 1m
未命名.bmp
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/html; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-18805-1303834649-1643.54111-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 614
This bug may be related to the following perl core RTs

http://rt.perl.org/rt3/Ticket/Display.html?id=89142
http://rt.perl.org/rt3/Ticket/Display.html?id=85366

It is a bug on Win32 when using Encode + fork/threads

Minimum failing demo:

use encoding 'utf-8';
fork;

Perhaps jason21ce@163.comcould post his failing perl code + paltform details to confirm my guess.

--
kmx


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.