Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
In addition, I often need to do this sort of thing in the debugger. Any suggestions on saving my having to retype it all the time in the debugger would be gratefully received.perl -ne "print join(' ',map{sprintf(qq/U+%04X/,$_)}unpack('U*',$_));" + infile.txt
Edit Masem 2001-08-03 - CODE tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unicode Golf
by mirod (Canon) on Aug 03, 2001 at 15:42 UTC | |
|
Re: Unicode Golf
by chipmunk (Parson) on Aug 03, 2001 at 17:52 UTC | |
|
Re: Unicode Golf
by John M. Dlugosz (Monsignor) on Aug 04, 2001 at 01:14 UTC |