imbox icon indicating copy to clipboard operation
imbox copied to clipboard

Problems with German "Umlaut"

Open pycebs opened this issue 7 years ago • 1 comments

I'm experiencing (encoding) problems with the German "Umlaut".

Example: "Deleted" in German means "Gelöscht". The "ö" is a so called "Umlaut".

So when I list all folders I get this:

(\Trash \HasNoChildren) "/" Gel&APY-scht

But I should be getting:

(\Trash \HasNoChildren) "/" Gelöscht

I looked into it and apparently the IMAP protocol encodes text in "utf-7". But even if I use:

xxx.decode("utf-7")

I still get:

(\Trash \HasNoChildren) "/" Gel&APY-scht

Is this a bug or is the error on my side?

pycebs avatar Aug 10 '18 15:08 pycebs

Try to use this: .encode('utf-7')

karolzlot avatar Nov 01 '18 23:11 karolzlot