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

lamson.encoding.properly_encode_header breaks utf8 strings #16

Open
wRAR opened this issue Dec 19, 2012 · 0 comments
Open

lamson.encoding.properly_encode_header breaks utf8 strings #16

wRAR opened this issue Dec 19, 2012 · 0 comments

Comments

@wRAR
Copy link

wRAR commented Dec 19, 2012

Despite prominent notices about caring about Unicode lamson breaks outgoing headers too.

lamson.encoding.properly_encode_header uses email.charset.Charset.header_encode which doesn't know about splitting multibyte sequences and asks to use email.header.Header instead. As the result, headers in message objects created by lamson may include utf8 characters broken between their bytes.

wRAR added a commit to wRAR/lamson that referenced this issue Dec 19, 2012
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

No branches or pull requests

1 participant