B
Bill H
If I have a string that may contain characters with an ascii value of
128 or greater, other than looking at each character, is there a way of
converting each occurance of these characters to an octal
representation in the format of \### where ### is the octal value (the
slash is required in the output)?
For example, if I have a string that is:
"The next character is octal ü"
I want to convert it to the following format:
"The next character is octal \374"
If there is something in the perldocs on how to do this please let me
know where to look
Thank you,
Bill H
128 or greater, other than looking at each character, is there a way of
converting each occurance of these characters to an octal
representation in the format of \### where ### is the octal value (the
slash is required in the output)?
For example, if I have a string that is:
"The next character is octal ü"
I want to convert it to the following format:
"The next character is octal \374"
If there is something in the perldocs on how to do this please let me
know where to look
Thank you,
Bill H