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 > tr question (pr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 12 Topic 1019 of 1056
Post > Topic >>

tr question (probably wrong list to ask, but ...)

by joel_rees@[EMAIL PROTECTED] (Joel Rees) Dec 1, 2007 at 09:33 AM

This is probably the wrong list for this question, but is anyone  
willing to give me a clue why

$line =~ tr/+/ /;

would clip out the lead bytes of a ****ft-JIS string in a cgi script?

Come to think of it, I think it's being applied while the string is  
still hex-encoded, so it makes even less sense to me.

(I know, I should be letting the CGI module decode the url-encoded  
string. But I seem to be mis-understanding something fundamental  
here. Which is why a newbies list would probably be better for this  
question.)

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 Jul 6 9:38:24 CDT 2008.