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

Add CESU-8 to UTF-8 mapping #7

Merged
merged 1 commit into from
May 26, 2022
Merged

Add CESU-8 to UTF-8 mapping #7

merged 1 commit into from
May 26, 2022

Conversation

hazington
Copy link
Contributor

I just received an email (spam) that used CESU-8 to encode the from address and subject. But CESU-8 is not supported by PHP's iconv and threw an ErrorException in my mail application. Since CESU-8 is an alternative to UTF-8, you can simply and safely replace it by UTF-8.

I just received an email (spam) that used CESU-8 to encode the from address and subject. But CESU-8 is not supported by PHP's iconv and threw an ErrorException in my mail application. Since CESU-8 is an alternative to UTF-8, you can simply replace it by UTF-8.
@zbateson
Copy link
Owner

Sounds like there's a difference in "code points in the range U+10000 to U+10FFFF" according to https://en.wikipedia.org/wiki/CESU-8 but I'm okay with using it till a better solution comes. Thank you :)

@zbateson zbateson merged commit 5d9d190 into zbateson:master May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants