On Nov 26, 2005, at 20:39, Brano Gerzo wrote:

Xavier Noria [XN], on Saturday, November 26, 2005 at 20:20 (+0100)
typed the following:


I need convert all ASCII unprintalbe to ASCII printable (if possible)
according to (http://en.wikipedia.org/wiki/ASCII), tell me please,
what should I use/look for.

XN> The string "\033" would be converted to what?

yes, on the first line I wrote "(if possible)", as you guess right,
this is not possible.
But for example (I write DEC numbers):
128 -> c
129 -> u
130 -> e
and so on (http://www.lookuptables.com/)

So I guess I'm looking for some conversion table, if this is not done,
I will create one, but never do this before, don't know what to use
:( hm, maybe tr will help here...

Yeah, looks like you need some kind of conversion table, but I still do no understand the problem to solve. Can you be more specific? Do you have examples of actual inputs and their corresponding conversions?

-- fxn


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to