Marc Lehmann skribis 2007-03-31 2:20 (+0200):
> But in fact, if you try it, nothing will get corrupted
unless you use
> unpack "C" to get the first byte of your
KOI8-string. Then you might get
> surprised (current perl) or an exception (Juerd's
idea).
Sigh...
It'll work just fine if the string is still a byte string,
which it will
be if you cared to keep it separated.
--
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 <ht
tp://www.wijvertrouwenstemcomputersniet.nl/>.
|