in reply to Perl script to decode MySQL ENCODE() function
Don't see a CPAN module that does this explicitly. However, the SQL Server Documentation says there are very few characters encoded, and they're all covered by URI::Escape. So, untested but may work for ya:
UGH... that is actually powershell documentation... Do you have an example of an encoded string?use URI::Escape; print uri_unescape(">>>%5C %2F %3A %25 %3C %3E %2A %3F %5B %5D %7C<<<" +);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl script to decode SQL ENCODE function
by Martin90 (Sexton) on Jul 22, 2013 at 12:00 UTC | |
by Loops (Curate) on Jul 22, 2013 at 12:23 UTC | |
by Martin90 (Sexton) on Jul 22, 2013 at 20:14 UTC | |
by Loops (Curate) on Jul 22, 2013 at 20:36 UTC | |
by Martin90 (Sexton) on Jul 22, 2013 at 21:45 UTC | |
by daxim (Curate) on Jul 22, 2013 at 12:30 UTC |