in reply to Re: Re: simple file question, extra spaces, win32
in thread simple file question, extra spaces, win32
At worst, this can converted to UTF-8 by doing:
Not fast, but it'll do the trick. If all you want is ISO-Latin-1, try$utf8 = pack 'U*', unpack 'v*', $unicode;
$latin1 = pack 'C*', unpack 'v*', $unicode;
p.s. Those aren't spaces, instead, most of them extra bytes will be chr(0).
|
|---|