Automattic / Automattic/jetpack
Post by Email: spaces added to title with UTF-8 characters
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
#### Steps to reproduce the issue
1. Compose an email using one of these text as title:
- このテキストは継続的なメッセージである必要がありますこのテキストは継続的なメッセージである必要があります
- ภาษาไทยเป็นภาษาที่ไม่ได้ใช้การเว้นวรรคเพื่อแบ่งคำ
- การเว้นวรรคในภาษาไทยจะใช้เพื่อการแบ่งประโยคเป็นหลัก
- ข้อความตัวอย่างนี้ควรจะเป็นข้อความที่ต่อเนื่อง
2. Send the email to your unique email address (**********@post.wordpress.com)
3. Go to 'Posts' in your WordPress dashboard and observe the title
#### What I expected
Post's titles should be the same as email's titles.
#### What happened instead
Space character appears in post's titles
**Screenshots**

**Emails sent (anonymized)**
- [example-email-1.txt](https://github.com/Automattic/jetpack/files/6547223/example-email-1.txt)
- [example-email-2.txt](https://github.com/Automattic/jetpack/files/6547226/example-email-2.txt)
- [example-email-3.txt](https://github.com/Automattic/jetpack/files/6547228/example-email-3.txt)
- [example-email-4.txt](https://github.com/Automattic/jetpack/files/6547230/example-email-4.txt)
Contributor guide
Assessment
This issue has not been assessed yet.