[I18n-sig] Changing case

mark.mcmahon@eur.autodesk.com mark.mcmahon@eur.autodesk.com
Tue, 11 Apr 2000 10:24:21 +0200


Hi,

I can't seem to figure this out..

>>> s = unicode('\204\202', 'latin-1')
>>> s
u'\204\202'
>>> s.upper()
u'\204\202')

Is this something that unicode should be able to do? Am I using the wrong
encoding?

Or would I have to have a particular codec to have a mapping between lower
and uppercase characters.

Sorry if this is basic and obvious - but as I said I can't seem to figure it
out

Windows NT4, (US - French regional settings), Python 1.6a1, both command
line and Idle.

Mark