ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl5-porters
perl5-porters
Re: [perl #57040] pos() function doesn't handle unicode well
by Eric Brine other posts by this author
Jul 17 2008 2:21PM messages near this date
[perl #57040] pos() function doesn't handle unicode well | Re: [perl #57040] pos() function doesn't handle unicode well
On Thu, Jul 17, 2008 at 6:42 AM, via RT Marcela Maslanova
<perlbug-followup@[...].org>  wrote:
>  # New Ticket Created by  Marcela Maslanova
>  # Please include the string:  [perl #57040]
>  # in the subject line of all future correspondence about this issue.
>  # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57040 >


A simpler test that demonstrates the problem violently:
> perl -e"$_=qq{\x{2660}\t}; s/\t/       qq{\t}/ge"

> perl -e"$_=qq{\x{2660}\t}; s/\t/pos(); qq{\t}/ge"
Malformed UTF-8 character (unexpected end of string) in match position
at -e line 1.

ActivePerl 5.10.0.
Thread:
Marcela Maslanova
Eric Brine
Moritz Lenz

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved