in reply to how to convert latin alphabets to hexadecimal number
A little cleaner might be to swap lines 13 and 14 to printf "\\u%X\n\n", ord;
Better still, of course, is to use a package to do interpolation, as the other comments suggest, or actually encode your inputs and outputs properly (perlunitut).
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|
|---|