Okay, it's not tr after all.
[email protected] (Joel Rees)
| Newsgroups | perl.macosx |
|---|---|
| Message-ID | <[email protected]> |
On 19/12/01, at 12:04, Chas. Owens wrote: > On Nov 30, 2007 9:43 PM, 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. (I1MeXg(IE7B > chatter this+is+a+test.+ 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.)