Diagnostic-Code

Diagnostic-Code

[1] RFC 5337 によると UTF-8 が使えるように拡張されたはずなのですが (4.)、 ABNF はなぜか

   diagnostic-code-field =
        "Diagnostic-Code" ":" diagnostic-type ";" *text-fixed

で、この text-fixed というのは

   text-fixed = %d1-9 /      ; Any Unicode character except for NUL,
               %d11 /       ; CR and LF, encoded in UTF-8
               %d12 /
               %d14-127
     ; Same as <text> from [RFC2822], but without <obs-text>.
     ; If/when RFC 2822 is updated to disallow <obs-text>,
     ; this should become just <text>
     ; Also, if/when RFC 2822 is updated to disallow control characters
     ; this should become a reference to RFC 2822upd instead.

というように、 UTF-8 が含まれていなくて、それでいて注釈UTF-8 だといっている、わけのわからない代物になっています。 (名無しさん)