Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special characters in foldernames #451

Open
jonalange opened this issue Apr 18, 2024 · 1 comment
Open

Special characters in foldernames #451

jonalange opened this issue Apr 18, 2024 · 1 comment
Assignees
Labels
Folders Folders issues

Comments

@jonalange
Copy link

I've read issues about special characters in the password, but after looking through almost every FAQ and somewhat related issue here I couldn't find a solution. Maybe I've overlooked something.

How can/ should I handle special characters like ä ö etc.

The folder is skipped while running imapsync and is displayed as 03_März (actual name is 03_März).

Probably the best idea would be to not use special characters, but to be honest I have no influence about it when a user inputs that special character and even if I tell everybody to not do it, in some edgecase this will still happen out of convenience and muscle memory.

Any suggestions? :)

--folder 'INBOX/03_Rechnungen/2024/03_März' \
--f1f2 'INBOX/03_Rechnungen/2024/03_März'='Archiv.Posteingang.Rechnungen.Live.2024.03_März' \
@gilleslamiral gilleslamiral self-assigned this Apr 19, 2024
@gilleslamiral gilleslamiral added the Folders Folders issues label Apr 19, 2024
@gilleslamiral
Copy link
Member

I've read issues about special characters in the password,

In the password or in the folders names?

How can/ should I handle special characters like ä ö etc.

The folder is skipped while running imapsync and is displayed as 03_März (actual name is 03_März).

03_März
is coded
03_M&AMMApA-rz

Any suggestions? :)

Look at the imapsync output where it lists folders,
The left side is the name to use with --f1f2 --folder etc.

./imapsync --testslive --justfolderlist
...
Host1: folders list (first the raw imap format then the [X] = [Y]):
* LIST (\HasChildren) "." init
* LIST (\HasNoChildren) "." init.&ZTZO9nux-
* LIST (\HasNoChildren) "." INBOX
12 OK List completed (0.001 + 0.000 secs).

[INBOX]
[init]
[init.&ZTZO9nux-] = [init.# # # ]

Have in mind IMAP was there before utf8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Folders Folders issues
Projects
None yet
Development

No branches or pull requests

2 participants