> I have a subroutine that finds commonly found Unicode characters that > Microsoft Word uses (such as "smart quotes") and converts them to plain > ASCII text. However, there is one character whose chr() value I can't seem > to find - the MS Word long dash, which automatically replaces the normal > (short dash) when you press Enter. Does anyone know or can point me to a > location where I can find the chr() value of this character? All replies are > greatly appreciated.
my @chars = split //, $line; # $line is your string. foreach my $char(@chars) { print sprintf"%1x", ord($char) ; print " " } # Hope this help. Rgds, Connie -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]