note 126205 added to function.mb-decode-mimeheader
| From: | hgs at cs dot columbia dot edu | Date: | Wed, 30 Jun 2021 18:21:45 +0000 |
| Subject: | note 126205 added to function.mb-decode-mimeheader | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216562@lists.php.net to get a copy of this message | ||
In Q encoding mode, RFC 2047 encodes spaces as _ (Section 4.2).
mb_decode_mimeheader()
does not appear to do this. Thus, to avoid names or subjects with underscores, one needs to apply
strtr() or similar function to the input string.
On the other hand, lower-case strings do now work correctly.
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 72.76.184.201)
----
Manual Page -- https://php.net/manual/en/function.mb-decode-mimeheader.php
Edit -- https://main.php.net/note/edit/126205
Del: integrated -- https://main.php.net/note/delete/126205/integrated
Del: useless -- https://main.php.net/note/delete/126205/useless
Del: bad code -- https://main.php.net/note/delete/126205/bad+code
Del: spam -- https://main.php.net/note/delete/126205/spam
Del: non-english -- https://main.php.net/note/delete/126205/non-english
Del: in docs -- https://main.php.net/note/delete/126205/in+docs
Del: other reasons-- https://main.php.net/note/delete/126205
Reject -- https://main.php.net/note/reject/126205
Search -- https://main.php.net/manage/user-notes.php