Unicode support in metadatapanel.py