php.net |  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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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
To: jussi.ranta@nomini.fi
Subject: Test subject ??ˆ??ˆ?????‰ˆ‰
MIME-Version: 1.0
From: ????????????? <test@test.fi>
Status:  O
--------------------------------------------


Works          sent with Eudora/Mac
--------------------------------------------
Mime-Version: 1.0
X-Sender: juranta@mail.nomininetworks.com
Date: Wed, 14 Mar 2001 12:07:27 +0200
To: jussi.ranta@nomini.fi
From: Jussi Ranta <jussi.ranta@nomini.fi>
Subject: test ????????????
Status:   
-------------------------------------------

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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-14 14:26 UTC] wez@php.net
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.

--Wez.
 [2001-03-14 14:32 UTC] wez@php.net
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?

--Wez.

 [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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 14 23:01:26 2024 UTC