Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by jhourcle (Prior)
on Feb 24, 2012 at 14:25 UTC ( #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.


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-08-30 13:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls