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
UTF8 in 5.8.1
by Aaron Sherman other posts by this author
Feb 28 2005 9:20AM messages near this date
Re: bignum pragma | Re: UTF8 in 5.8.1
Is anyone aware of any limitations in 5.8.1 that would lead to a problem
using substr on utf8 strings? I'm getting lots of:

	Malformed UTF-8 character (unexpected end of string)

errors in a function that's dealing only with strings that are read from
a file that was written to a file, and is being read back using the
:utf8 encoding layer. I had thought that substr was always safe on such
strings, but it's starting to look like that was a vain hope....

I'll keep debugging, and try a more recent version of Perl, but just
wanted to check in to see if this was a known problem.

-- 
☎ 781-324-3772
✉ ajs@[...].com
☷ http://www.ajs.com/~ajs
Thread:
Aaron Sherman
Gisle Aas
Aaron Sherman
Nicholas Clark
Dan Kogai
Aaron Sherman

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved