in reply to View Unicode in hex

Hey, funny, just the other day I whipped this up:

perl -wpC -e 's/(.)/sprintf "U+%04X ", ord $1/eg'

Which is essentially the same, but your version is better because it leaves the ASCII data alone.

Replies are listed 'Best First'.
Re^2: View Unicode in hex
by Anonymous Monk on Dec 26, 2004 at 22:36 UTC
    4343