Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Problems if message subject contains both umlauts and question mark
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Otto  
View profile  
 More options Jan 27, 1:52 am
From: Otto <o...@simonconsulting.at>
Date: Mon, 26 Jan 2009 22:52:13 -0800 (PST)
Local: Tues, Jan 27 2009 1:52 am
Subject: Problems if message subject contains both umlauts and question mark
Hi,

I guess this is a software bug.

If my MIME/UTF-8 message's subject contains both umlauts and a
question mark, the question mark apparently gets not MIME encoded
correctly and the whole subject looks weired.

I guess in this case, the question mark should be encoded as "=3F",
but it is not.

Example:

"Können wir sie unterstützen?"

looks like:

"=?UTF-8?q?K=C3=B6nnen_wir_sie_unterst=C3=BCtzen??="

source looks like this:

Subject: =?UTF-8?q?K=C3=B6nnen_wir_sie_unterst=C3=BCtzen??=

working source would be:

Subject: K=?UTF-8?q?=C3=B6nnen_wir_sie_unterst=C3=BCtzen=3F?=


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Manuel Lemos  
View profile  
 More options Jan 27, 2:31 am
From: Manuel Lemos <mle...@acm.org>
Date: Tue, 27 Jan 2009 05:31:53 -0200
Local: Tues, Jan 27 2009 2:31 am
Subject: Re: Problems if message subject contains both umlauts and question mark
Hello,

on 01/27/2009 04:52 AM Otto said the following:

I tried this case and it worked correctly. There is even a case of
test_quoted_printable.php script that tests question marks at the end of
headers. Could you be using an old version of the class with bugs?

--

Regards,
Manuel Lemos

Find and post PHP jobs
http://www.phpclasses.org/jobs/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Otto  
View profile  
 More options Jan 27, 2:38 am
From: Otto <o...@simonconsulting.at>
Date: Mon, 26 Jan 2009 23:38:49 -0800 (PST)
Local: Tues, Jan 27 2009 2:38 am
Subject: Re: Problems if message subject contains both umlauts and question mark
Manuel,

Thank you for your quick reply.

What I discovered in the meantime:

If I replace one line in "SetEncodedHeader", it is working:

OLD:
return($this->SetHeader($header,$value,strlen($encoding_charset) ?
$encoding_charset : $this->default_charset));

NEW:
return($this->SetHeader($header,$this->QuotedPrintableEncode($value,
strlen($encoding_charset) ? $encoding_charset : $this-

>default_charset, 1, 1)));

I guess I am using v 1.86

 @(#) $Header: /home/mlemos/cvsroot/mimemessage/email_message.php,v
1.86 2008/12/06 18:05:41 mlemos Exp $


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Manuel Lemos  
View profile  
 More options Jan 27, 2:47 am
From: Manuel Lemos <mle...@acm.org>
Date: Tue, 27 Jan 2009 05:47:52 -0200
Local: Tues, Jan 27 2009 2:47 am
Subject: Re: Problems if message subject contains both umlauts and question mark
Hello,

on 01/27/2009 05:38 AM Otto said the following:

> Manuel,

> Thank you for your quick reply.

> What I discovered in the meantime:

> If I replace one line in "SetEncodedHeader", it is working:

Yes, for headers that may contain non-ASCII characters, like for
instance Subject, you should always use SetEncodedHeader.

--

Regards,
Manuel Lemos

Find and post PHP jobs
http://www.phpclasses.org/jobs/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Otto  
View profile  
 More options Jan 27, 2:56 am
From: Otto <o...@simonconsulting.at>
Date: Mon, 26 Jan 2009 23:56:44 -0800 (PST)
Local: Tues, Jan 27 2009 2:56 am
Subject: Re: Problems if message subject contains both umlauts and question mark
Sur. But in my software version SetEncodedHeader did NOT call the
QuotedPrintableEncode funtion. So I guess this is the reason why my
header was not encoded correctly.

On 27 Jan., 08:47, Manuel Lemos <mle...@acm.org> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google