in reply to encoding question
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: encoding question
by 7stud (Deacon) on May 20, 2010 at 07:26 UTC | |
by moritz (Cardinal) on May 20, 2010 at 08:17 UTC | |
by 7stud (Deacon) on May 21, 2010 at 03:21 UTC | |
by moritz (Cardinal) on May 21, 2010 at 07:03 UTC |