bulrush has asked for the wisdom of the Perl Monks concerning the following question:
Let's say the % character has a decimal value > 127.
Input: 'Odd character %'
Output: 'Odd character \x82'
Is there a couple of lines of code I can use to do this? Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to replace extended ascii ctrs with \xnn strings?
by toolic (Bishop) on Dec 14, 2015 at 17:46 UTC | |
by bulrush (Scribe) on Dec 14, 2015 at 18:24 UTC | |
by bulrush (Scribe) on Dec 14, 2015 at 18:01 UTC | |
|
Re: How to replace extended ascii ctrs with \xnn strings?
by BrowserUk (Patriarch) on Dec 14, 2015 at 17:48 UTC | |
|
Re: How to replace extended ascii ctrs with \xnn strings?
by Anonymous Monk on Dec 14, 2015 at 21:03 UTC |