But perhaps this isn't really the contents of $msg. Perhaps it is only converted to UTF8 when you print it out to a file. In which case, perl thinks that's what you want. Perhaps tell it that the filehandle should be treated as raw, hence, no conversion of any characters? binmode could offer you a solution, then.
In reply to Re: perl pack function
by bart
in thread perl pack function
by fvgestel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |