Skip Menu |
 

This queue is for tickets about the Scalar-List-Utils CPAN distribution.

Report information
The Basics
Id: 51484
Status: resolved
Priority: 0/
Queue: Scalar-List-Utils

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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



Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by diesel.bestpractical.com (Postfix) with SMTP id A77454D801E for <bug-Scalar-List-Utils [...] rt.cpan.org>; Thu, 12 Nov 2009 18:15:58 -0500 (EST)
Received: (qmail 11942 invoked by uid 103); 12 Nov 2009 23:15:58 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 12 Nov 2009 23:15:58 -0000
Received: from mailout2-5.pacific.net.au (HELO mailout2.pacific.net.au) (61.8.2.228) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Thu, 12 Nov 2009 15:15:56 -0800
Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout2.pacific.net.au (Postfix) with ESMTP id 11D07199A7D for <bug-Scalar-List-Utils [...] rt.cpan.org>; Fri, 13 Nov 2009 10:15:52 +1100 (EST)
Received: from blah.blah (ppp2EDC.dyn.pacific.net.au [61.8.46.220]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id 505CE8C04 for <bug-Scalar-List-Utils [...] rt.cpan.org>; Fri, 13 Nov 2009 10:15:43 +1100 (EST)
Received: from gg by blah.blah with local (Exim 4.69) (envelope-from <gg [...] zip.com.au>) id 1N8irR-00037W-Od for bug-Scalar-List-Utils [...] rt.cpan.org; Fri, 13 Nov 2009 10:13:53 +1100
Delivered-To: cpan-bug+Scalar-List-Utils [...] diesel.bestpractical.com
MIME-Version: 1.0
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)
Subject: dualvar() with utf8 string
X-Spam-Status: No, hits=0.0 required=8.0 tests=
Return-Path: <gg [...] zip.com.au>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Scalar-List-Utils [...] rt.cpan.org
Date: Fri, 13 Nov 2009 10:13:52 +1100
X-Spam-Level: *
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
Content-Type: multipart/mixed; boundary="=-=-="
Message-ID: <877htv5ob3.fsf [...] blah.blah>
To: bug-Scalar-List-Utils [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
Content-Length: 0
X-RT-Original-Encoding: ascii
content-type: text/plain; charset="utf-8"
Content-Length: 221
Download (untitled) / with headers
text/plain 221b
With recent debian i386 perl 5.10.1 and its supplied Scalar::Util 1.21, the program below prints str is utf8 dual not utf8 where I hoped the utf8-ness of the given $str might propagate to the dualvar() result.
Content-Type: text/x-perl
content-disposition: inline; filename="foo.pl"
Content-Length: 355
Download foo.pl
text/x-perl 355b
use strict; use warnings; use Scalar::Util; print "Scalar::Util $Scalar::Util::VERSION\n"; my $num = 123; my $str = "\x{262E}"; print utf8::is_utf8($str) ? "str is utf8\n" : "str not utf8\n"; my $dual = Scalar::Util::dualvar ($num, $str); print "dual n=",$dual+0," s=$dual\n"; print utf8::is_utf8($dual) ? "dual is utf8\n" : "dual not utf8\n"; exit 0;
MIME-Version: 1.0
In-Reply-To: <877htv5ob3.fsf [...] blah.blah>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
References: <877htv5ob3.fsf [...] blah.blah>
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-6514-1258224555-1112.51484-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 36
Fixed in 1.22 just released to CPAN


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.