Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Perl on OSX > Okay, it's not ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 12 Topic 1019 of 1075
Post > Topic >>

Okay, it's not tr after all.

by joel_rees@[EMAIL PROTECTED] (Joel Rees) Dec 1, 2007 at 12:27 PM

On $BJ?@[EMAIL PROTECTED]
(B 19/12/01, at 12:04, Chas. Owens wrote:

> On Nov 30, 2007 9:43 PM, Joel Rees <joel_rees@[EMAIL PROTECTED]
> wrote:
>> I guess it would help if I posted my code and what it puts out.
> snip
>
> Whoa, way to much information.

:-)

> Try to reproduce your issue with the
> least amount of code and data.

Actually, after cleaning out some of the extraneous stuff, I can see  
it is not tr/// doing the dirty deed after all (which is a relief, in  
a way):

> chatter_0	this+is+a+test.+%82%B1%82%EA%82%CD%83e%83X%83g%82%C5%82% 
> B7%81B
> chatter_tr1	this is a test. %82%B1%82%EA%82%CD%83e%83X%83g%82%C5%82% 
> B7%81B
> chatter_tr	this is a test. (I1M(BeXg(IE7(BB
> chatter	this+is+a+test.+$B$3$l$O%F%9%H$G$9!#(B

Even though stripping the '+' out forces what had been intermittent  
behavior, I can see that tr/// is doing its job right.

>   Off hand I would say your problem is
> probably with the encoding of your data (and Perl's lack of knowledge
> about it).  Try using the locale or encoding pragmas.

Yeah, I'll have to go back to that black magic.

Thanks everybody for being listening ears.

Joel Rees
(waiting for a 3+GHz ARM processor to come out,
to test Steve's willingness to switch again.)
 




 12 Posts in Topic:
tr question (probably wrong list to ask, but ...)
joel_rees@[EMAIL PROTECTE  2007-12-01 09:33:12 
Re: tr question (probably wrong list to ask, but ...)
andy@[EMAIL PROTECTED] (  2007-12-01 01:56:44 
Re: tr question (probably wrong list to ask, but ...)
douglist@[EMAIL PROTECTED  2007-11-30 19:19:07 
Re: tr question (probably wrong list to ask, but ...)
chas.owens@[EMAIL PROTECT  2007-11-30 21:02:41 
Re: tr question (probably wrong list to ask, but ...)
chas.owens@[EMAIL PROTECT  2007-11-30 21:29:29 
Re: tr question (probably wrong list to ask, but ...)
douglist@[EMAIL PROTECTED  2007-11-30 20:18:12 
Re: tr question (probably wrong list to ask, but ...)
joel_rees@[EMAIL PROTECTE  2007-12-01 11:43:58 
interaction between tr and s (was Re: tr question -- probably wr
joel_rees@[EMAIL PROTECTE  2007-12-01 17:03:23 
Re: interaction between tr and s (was Re: tr question -- probabl
douglist@[EMAIL PROTECTED  2007-12-01 11:59:12 
Re: interaction between tr and s (was Re: tr question -- probabl
joel_rees@[EMAIL PROTECTE  2007-12-03 18:41:33 
Re: tr question (probably wrong list to ask, but ...)
chas.owens@[EMAIL PROTECT  2007-11-30 22:04:08 
Okay, it's not tr after all.
joel_rees@[EMAIL PROTECTE  2007-12-01 12:27:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Oct 12 22:44:28 CDT 2008.