Message-Id: <O
FF86FB888.70D5EF70-ON4825733E.0021A246-4825733E.00246265@IBMCN>
p4raw-id: //depot/perl@31740
s/\f/\\f/g;
s/\a/\\a/g;
if (ord('A') == 193) { # EBCDIC has no ^\0-\177 workalike.
- s/([[:^print:]])/sprintf "\\x{%X}", ord $1/ge;
+ s/([[:^print:]])/sprintf "\\%03o", ord $1/ge;
} else {
s/([^\0-\177])/sprintf "\\%03o", ord $1/ge;
}