Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BB2Nuke
Author Message
slackervaara
Worker
Worker


Joined: Aug 26, 2007
Posts: 236

PostPosted: Mon Sep 22, 2008 7:40 am Reply with quote

I have discovered a small bug in phpbb2 and that is that the subject in notification mail is not encoded for 8-bit characters that are present in some languages like German, Swedish, Norwegian, Danish. In phpbb3 this issue has been dealt with an the subject line is in such cases encoded by UTF-8. In e-mail clients like Thunderbird the subject line is encoded in ISO-8859-1.

I have found a patch for emailer.php that should fix this issue, but it has a small glitch that I hope to get help with:

The patch can be seen here: Only registered users can see links on this board! Get registered or login!

The patch works very well, but if two adjacent words contains 8-bit characters they are integrated: på inlägg is displayed as påinlägg like a single word.

I have looked in the source code of mail. From patched emailer.php
på inlägg is encoded as two separate words, which probably make them to integrate.

In Thunderbird, however the på inlägg is encoded, as if was one word and then in the subject line you could see them as separate words.

Do anyone knows how the patch can be modified, so it displays two adjacent 8-bit containing words as separate words?
 
View user's profile Send private message
slackervaara
PostPosted: Sun Sep 28, 2008 12:58 pm Reply with quote

I have reported a solution of this problem here:
Only registered users can see links on this board! Get registered or login!
 
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9453
Location: Arizona

PostPosted: Tue Sep 30, 2008 5:44 am Reply with quote

slackervaara, Thanks! I am sure others will also find this useful.

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BB2Nuke

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©