Martin aus Wien: Email subject encoding

Beitrag lesen

Gemäß RFC 2047 müssen sie in derart codierten Mailheadern aber als =20 formuliert werden. Unterstriche wären mir in dem Zusammenhang allerdings neu.

Stimmt. Das mit den Unterstrichen hab ich aus dem Wikipedia-Artikel "MIME" und es funktioniert.

Es steht im Abschnitt 4.2(2) von RFC 2047:
       The 8-bit hexadecimal value 20 (e.g., ISO-8859-1 SPACE) may be
       represented as "_" (underscore, ASCII 95.).  (This character may
       not pass through some internetwork mail gateways, but its use
       will greatly enhance readability of "Q" encoded data with mail
       readers that do not support this encoding.)

Gruß

Martin aus Wien