in reply to Problem with print chr()
Your code works fine for me, but I'm in latin1 by default. You're getting unicode and I can reproduce it with use encoding 'utf8'; before the print. Try,
use encoding 'latin1'; print "Copyright " . chr(169) . " 2004 ...\n";
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with print chr()
by ccarden (Monk) on Sep 17, 2004 at 18:12 UTC | |
by graff (Chancellor) on Sep 18, 2004 at 00:37 UTC |