If add a use utf8 statement, then for the first say() I see "A with diaeresis(umlaut)", but then the substitutions are performed, and the second say() outputs "Tht pple".
I don't see two say() statements in your program, only one... care to enlighten me?
use utf8; is used to indicate that the script itself is stored as UTF-8. If that's not the case, don't use it.
If I store your script as Latin-1 and execute it, the substitution works.
In reply to Re: encoding question
by moritz
in thread encoding question
by 7stud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |