develooper Front page | perl.perl5.porters | Postings from December 2000

Re: UTF8 flag and sv_utf8_upgrade

Thread Previous | Thread Next
Simon Cozens
December 12, 2000 12:00
Re: UTF8 flag and sv_utf8_upgrade
Message ID:
On Tue, Dec 12, 2000 at 12:30:02PM +0000, Nick Ing-Simmons wrote:
> Is there any reason NOT to turn on SvUTF8 once we have established 
> that it is valid UTF8 - even if only because it has no high bit chars?

Oh, yeah, speed. Handling UTF8 is a lot more work; look at the various code
paths for, for instance, concat or toupper. (concat'll be the killer, I

"I will make no bargains with terrorist hardware."
-- Peter da Silva

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About