Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Re: Shoot yourself on the foot

by tretin (Friar)
on Jan 24, 2002 at 08:04 UTC ( #141130=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Shoot yourself on the foot
in thread Shoot yourself on the foot

While feverishly trying to create an elite script to shoot yourself in the foot, you realize that the very appendage to be shot no longer appears. In the panic, you right a different application to run to try and correct this horrendous mistake, however while frantically hacking this program, you make a fatal mistake, and the leg that is sans foot, falls off. At this point, you are more frantic than a cat in an old warehouse, you think you may have patched the code and your fingers fall off. Now, you begin typing with your nose. Running through every different method you can think of to create a panacea to fix the bug, you accidently run the program (because your nose eye coordination is a bit on the shabby side) and your head falls off. So now you are torso, leg, and decapitated head, and you decide it is no longer worthwhile to attempt to shoot yourself in the remaining foot, because you have obtained this objective in a different manner, and hey is that not what Perl is all about!?

"Your Pro-mop anti-horse agenda has been apparant for some time!"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://141130]
help
Chatterbox?
[LanX]: not my code ...
[choroba]: yeah, sounds like one of the strings is not flagged as UTF-8
[choroba]: which usually means its input wasn't handled correctly
[Corion]: choroba: Yeah, I think that would be the good solution
[LanX]: I suspect the first string which comes from the DB ...
[LanX]: ... but this part is already in production for a year now
[Corion]: LanX: The "good" approach here would be to use the appropriate DBI parameters to make the driver decode strings properly. But that will have a ripple-on effect of messing up all the places where manual decoding happens ;)
[LanX]: which means albeit being broken UTF8 it'll be handled correctly
[LanX]: and the problem only occurs since we changed the emails to base64
[LanX]: my main problem will be to cnvince my colleagues that our productive code is broken oO ... so in the end I will just make a workaround :-/

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2017-01-16 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (150 votes). Check out past polls.