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
In reply to Unicode Golf by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |