# git imap-send: International folder names don't work

1 messages from 2015-06-01 to 2015-06-01. Participants: Andreas Grünbacher.
Thread: https://gitlist.dev/t/39477

## Andreas Grünbacher, 2015-06-01 10:31

Subject: git imap-send: International folder names don't work
Message-ID: <CAHpGcMJccbA3j-5MJ6Ux3J6M7p=dcAs4aKqzowSP_dMhf0Mevw@mail.gmail.com>
URL: https://gitlist.dev/e/CAHpGcMJccbA3j-5MJ6Ux3J6M7p%3DdcAs4aKqzowSP_dMhf0Mevw%40mail.gmail.com

```
Hello,

the imap.folder config option specifies the folder name to use on the
imap server.

At the protocol level, according to RFC 3501 Section "Mailbox
International Naming Convention", folder names use a modified UTF-7
encoding. The git-imap-send command doesn't encode the folder name
though; folder names that contain international characters don't work.

For example, my drafts folder is called "Entwürfe". When I set
imap.folder to "[Gmail]/Entwürfe" I get an imap server error. When I
put the encoded folder name into the config file
("[Gmail]/Entw&APw-rfe"), messages go to my drafts folder.

Could this please be fixed?

Thanks,
Andreas

```
