nvivek has asked for the wisdom of the Perl Monks concerning the following question:
if($string=~/[\x00-\x1F]+/) { # here, I want to replace the non-printable characters by printable ch +aracters which shouldn't cause any problem to XML::Writer emptyTag fu +nction. }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex to convert non-printable to printable char
by CountZero (Bishop) on Aug 18, 2012 at 06:49 UTC | |
|
Re: Regex to convert non-printable to printable char
by tobyink (Canon) on Aug 18, 2012 at 06:52 UTC | |
|
Re: Regex to convert non-printable to printable char
by BillKSmith (Monsignor) on Aug 18, 2012 at 15:09 UTC | |
|
Re: Regex to convert non-printable to printable char
by Anonymous Monk on Aug 18, 2012 at 06:29 UTC | |
|
Re: Regex to convert non-printable to printable char
by GlitchMr (Sexton) on Aug 22, 2012 at 10:04 UTC |