My full problem got slightly more complicated by the fact that I also had to output some actual UTF-8 at the same time, but using encode("utf8", $string) gave me what I needed.
In reply to Re^2: use encoding affects pack()
by rasher
in thread use encoding affects pack()
by rasher
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |