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

Correct European mail documentation #1142

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Correct European mail documentation #1142

merged 1 commit into from
Sep 26, 2024

Conversation

abcboy101
Copy link
Contributor

These functions are used for converting European Mail to a "safe" representation by mapping conflicting characters to unused values in the English font, avoiding most cases of mojibake.

Language-aware clients (FIGS Gold/Silver, EFIGS Crystal) send all Mail over the wire in this "safe" format so that language-unaware clients (English Gold/Silver) will display them reasonably correctly, just with some spaces in place of the proper characters. When the Mail returns to a language-aware client, it gets converted back to the proper character set for use with the appropriate font based on the stored nationality value. For trades between two language-aware clients, this effectively means it just gets encoded and decoded again immediately.

@Rangi42 Rangi42 merged commit 2408579 into pret:master Sep 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants