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.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: Convert string into plain text
by ultranerds (Hermit) on Nov 30, 2015 at 16:43 UTC
    Thank you - that worked a treat :)