Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: tr{}{} doesn't wanna work.. what am I doing wrong?

by jhourcle (Prior)
on Feb 24, 2012 at 14:25 UTC ( [id://955928]=note: print w/replies, xml ) Need Help??


in reply to Re: tr{}{} doesn't wanna work.. what am I doing wrong?
in thread tr{}{} doesn't wanna work.. what am I doing wrong?

I'd recommend this approach because no matter what you put into your list, you're going to miss a character, especially as new characters are added (who cared about € 14 years ago?) What happens if someone inserts Å? á? Ø? Æ? ð ? þ ? — ? „ ? Kanji? Mathematical symbols?

You're *much* better off listing the characters that you want to keep, and removing all others, if only because it's less work to maintain in the long run, as you don't have to worry about adding new characters, or if someone's messed up the encoding of the script.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://955928]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-28 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found