Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does having no dash in utf-8 in email messages headers can make email clients to display text wrong?

Subject: Newsletter
MIME-Version: 1.0
From: <>
Reply-To: <>
Content-Type: text/plain; **charset=utf8**
Message-Id: <>
Sender: www-data <>
Date: Mon, 29 Aug 2011 12:19:37 +0200
X-SmarterMail-Spam: SPF_None

As opposed to:

Return-Path: <>
Received: from g with SMTP;
   Tue, 30 Aug 2011 17:19:03 +0200
Received: from www-data by serwis with local (Exim: PJ server v1.0 
    id <>
    for <>; Tue, 30 Aug 2011 17:18:53 +0200
To: <>
Subject: <>
From: WWW <>
MIME-Version: 1.0
Content-type: text/plain; **charset=utf-8**
Message-Id: <>
Sender: www-data <>
Date: Tue, 30 Aug 2011 17:18:53 +0200
X-SmarterMail-Spam: SPF_None

I'm asking since we've noticed in some emails that if there's charset utf8 polish chars are unreadable.

share|improve this question
up vote 3 down vote accepted

From the Wikipedia entry on UTF-8:

The official name is "UTF-8". All letters are upper-case, and the name is hyphenated. This spelling is used in all the documents relating to the encoding.
Alternatively, the name "utf-8" may be used by all standards conforming to the Internet Assigned Numbers Authority (IANA) list (which include CSS, HTML, XML, and HTTP headers),[15] as the declaration is case insensitive.

Other descriptions that omit the hyphen or replace it with a space, such as "utf8" or "UTF 8", are not accepted as correct by the governing standards. Despite this, most agents such as browsers can understand them, and so standards intended to describe existing practice (such as HTML5) may effectively require their recognition.

So basically utf8 is technically incorrect (The Worst Kind of Incorrect™), and programs are under no obligation to accept it and Do The Right Thing (though many may do so out of the goodness of their hearts).

share|improve this answer
I found exactly same wikipedia entry just after asking the question :-) Well Outlook 2007/2010 does appear to ignore this charset. – MadBoy Aug 30 '11 at 16:27
Never expect Microsoft software to do anything out of the goodness of its heart - though with their reputation for "creative" interpretation of standards I'm surprised they adhere so strictly to this one :) – voretaq7 Aug 30 '11 at 16:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.