[wp-trac] [WordPress Trac] #44548: Email should be encoded with UTF8 and base64

WordPress Trac noreply at wordpress.org
Mon Jul 9 15:20:35 UTC 2018


#44548: Email should be encoded with UTF8 and base64
-------------------------+-----------------------------
 Reporter:  miyauchi     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  I18N         |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 The plugin WP Multibyte Patch included in the Japanese package is changing
 the Email charset from `UTF-8` to `ISO-2022-JP`.

 https://ja.wordpress.org/plugins/wp-multibyte-patch/

 Almost all Email clients in Japan can handle UTF-8 now, so I am believing
 that we don't need to change email charset to `ISO-2022-JP`.

 Also, if we activate WP Multibyte Patch and switch language to another
 language like `FR_fr`, the character in the email body will be broken.

 But I guess email should be encoded by `base64` for non-ascii users. I
 know `8bit` encoding works good, but I guess base64 is reliable for us if
 we remove the plugin from Japanese package.

 Following is an example email header of the Gmail. Gmail is `UTF8` +
 `base64`.

 {{{
 Subject: =?UTF-8?B?xxxxxxxxxxxxxxxxxx==?=
 Content-Type: text/plain; charset="UTF-8"
 Content-Transfer-Encoding: base64
 }}}

 Related: #meta3163, #43829, #44296, #44541, #15955, #22363

 Following is a list of tickets to improve multibyte enhancement.

 https://docs.google.com/spreadsheets/d/13oGbc7AqEN6OUvmze-
 JDCKXDdruFqsxqSAdI7-b6Lho/edit#gid=0

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44548>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list