Hi a01, welcome to the monastery.
Your string was encoded to UTF-8, so you need to decode it using the core module Encode.
You may want to refer to perlunitut for an introduction to Unicode processing in Perl.$ perl -MEncode -E' say Encode::decode_utf8("https\x3a\x2f\x2fexample.com"); ' https://example.com
Hope this helps!
In reply to Re: Unescaping JavaScript string
by 1nickt
in thread Unescaping JavaScript string
by a01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |