I found the ascii code using
and got 213.$char = '‘'; # a mac smart-quote character print ord($char);
But then I tried to replace it using
and nothing happened. I guess I'm missing something obvious?$string =~ s/\213//;
Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.
M-J D
In reply to Re: filenames with ’
by Cody Pendant
in thread filenames with ’
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |