in reply to Convert string into plain text
Ta da! :)
$s = '\u0069\u006d\u0070\u006f\u0072\u0074\u0061\u006e\u0074';; $s =~ s[\\u00][]g;; print pack 'H*', $s;; important
Of course, if that was just a trivial example and the real stuff is actually Unicode, that won't work.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Convert string into plain text
by ultranerds (Hermit) on Nov 30, 2015 at 16:43 UTC |