getting hex values of non-ascii strings

[email protected] (Mags Doheny) Mon, 17 Jun 2002 16:13:01 -0700
Newsgroups perl.i18n
Message-ID <[email protected]>
Hi,

I need to get the (two-digit, i.e. per-byte) hex values of non-ascii
strings.
I've tried using unpack but it only recognizes us-ascii chars,
outputting the error "Unrecognized character /xA4...", which funnily
enough is the (first) hex value I was after....is there a way to do this
from within a perl script?

thanks,
mags.