|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9741 MacOS / Skandinavian alphabets
Submitted: 2001-03-14 11:13 UTC Modified: 2001-03-14 16:09 UTC
From: jussi dot ranta at nomini dot fi Assigned: wez (profile)
Status: Closed Package: Mail related
PHP Version: 4.0.4pl1 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: jussi dot ranta at nomini dot fi
New email:
PHP Version: OS:


 [2001-03-14 11:13 UTC] jussi dot ranta at nomini dot fi
In order to print the skandinavian alphabets succesfully in 
the mail message with mac, Mime-Version: 1.0 should be 
announced in the first row of the message header:

Doesn't work   sent with php 4.0.4
Date: Wed, 14 Mar 2001 13:03:09 +0200
Subject: Test subject ??ˆ??ˆ?????‰ˆ‰
MIME-Version: 1.0
From: ????????????? <>
Status:  O

Works          sent with Eudora/Mac
Mime-Version: 1.0
Date: Wed, 14 Mar 2001 12:07:27 +0200
From: Jussi Ranta <>
Subject: test ????????????

mail() -function does not have a feature to change the 
order of header information. Now Mime-Version 1.0 can be 
announced after subject-line.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-14 14:26 UTC]
This isn't a bug in PHP - yes you need to specify the correct MIME headers in order for your email client to understand the content.

I suggest that you take a quick look at the mime RFCs.

You should be adding headers to you email that looks like:

Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1

You can use the headers parameter of the mail() function for this purpose.

I'm not too sure if that's the correct charset, but should get the right idea!

Hope that helps.

If you are sending these headers and the problem persists, please re-open this report.

 [2001-03-14 14:32 UTC]
Sorry - I just re-read your report.

It sounds like a bug in your mail client rather than PHP - PHP just passes the mail on to sendmail, and it is down to your mail client to parse and understand the message.

The rfc822 doesnt say anything about the order in which the headers should appear.

Can you try reading the message with other software?


 [2001-03-14 16:09 UTC] jussi dot ranta at nomini dot fi
I tried to read the same headers with Mac/Netscape 
Messenger. Worked fine. It seems that there is a bug in 
mac-version of Eudora.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Sep 26 07:03:37 2021 UTC