That code (unpack 'W' specifically) only works in 5.10.
The 5.8 docs had unpack("U*", ...) in the nice_string() snippet (instead of unpack("W*", ...) ) — which works fine, AFAICT.
In reply to Re^2: Escaping Wide Characters
by almut
in thread Escaping Wide Characters
by mobiusinversion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |