Capitalizing non-ASCII words in Python,print('\xc3\xa9'.decode('cp1252').capitalize().encode('cp1252'))