Tels skribis 2007-03-30 22:32 (+0000): > However, if you have 200Mbyte of ASCII string, it is more efficient to *not* > copy the data around just to find out that, yes, all of it is 7bit :) Indeed, but this is an optimization. Optimization isn't part of teaching how things work, it always comes after. Information overload is probably the single most problematic thing in Perl's unicode documentation. Constantly people are told all those internal implementation details that they don't have to know. It's no wonder that they start assuming that they actually need this information, and use manual setting of UTF8 flags as their first resort in case of trouble. -- korajn salutojn, juerd waalboer: perl hacker <juerd@juerd.nl> <http://juerd.nl/sig> convolution: ict solutions and consultancy <sales@convolution.nl> Ik vertrouw stemcomputers niet. Zie <http://www.wijvertrouwenstemcomputersniet.nl/>.Thread Previous | Thread Next