I'm experience different behaivors when running the same instructions as
script and interactively, the interactive behaivor is correct.
Example:
603 ~ $ cat foo.py
import string
print string.lower('ABC123ÅÄÖ')
604 ~ $ python foo.py
abc123ÅÄÖ
605 ~ $ python
Python 1.5.1 (#1, Mar 22 1999, 17:07:44) [GCC 2.8.1] on sunos5
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import string
>>> print string.lower('ABC123ÅÄÖ')
abc123åäö
>>>
Can anyone explain this behaivor?
/FN
script and interactively, the interactive behaivor is correct.
Example:
603 ~ $ cat foo.py
import string
print string.lower('ABC123ÅÄÖ')
604 ~ $ python foo.py
abc123ÅÄÖ
605 ~ $ python
Python 1.5.1 (#1, Mar 22 1999, 17:07:44) [GCC 2.8.1] on sunos5
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import string
>>> print string.lower('ABC123ÅÄÖ')
abc123åäö
>>>
Can anyone explain this behaivor?
/FN