As far as I know, the missing header is something like:
Content-Type: text/plain; charset="UTF-8"
« Last edit by Dietrich on Tue Oct 10, 2006 1:19 pm. »
Page: 1
| Author | Post |
|---|---|
|
#1 Sun Oct 08, 2006 9:33 pm
|
|
|
Member
Registered: Jan 2006
Posts: 11
Location: Israel
|
Email sent by UseBB does not declare the message charset, and as a result, utf-8 mail is not shown correctly on many email clients.
As far as I know, the missing header is something like: Content-Type: text/plain; charset="UTF-8" « Last edit by Dietrich on Tue Oct 10, 2006 1:19 pm. » |
|
#2 Mon Oct 09, 2006 4:51 pm
|
|
|
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
|
Normally, a content-type is set:
$headers[] = 'Content-Type: text/plain; charset='.$charset; If you're using mbstring, mb_send_mail() should set the content-ype, if I am right. _______________ |
|
#3 Mon Oct 09, 2006 6:43 pm
|
|
|
Member
Registered: Jan 2006
Posts: 11
Location: Israel
|
Hmm... the notification I got when your reply was posted did contain this header; but when my own board sends notifications, it comes with no content-type header. Strange.
|
|
#4 Mon Oct 09, 2006 7:15 pm
|
|
|
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
|
Try to run the following file on your host and post what it says:
<?php _______________ |
|
#5 Mon Oct 09, 2006 7:34 pm
|
|
|
Member
Registered: Jan 2006
Posts: 11
Location: Israel
|
Seems like it doesn't exist: bool(false)
I wonder how common it is for web hosts not to have mbstring enabled; is it just my host? |
|
#6 Mon Oct 09, 2006 8:35 pm
|
|
|
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
|
Then you should receive emails with the content-type set.
Ar you running UseBB 1.0.2 with all the latest file versions? _______________ |
|
#7 Mon Oct 09, 2006 9:10 pm
|
|
|
Member
Registered: Jan 2006
Posts: 11
Location: Israel
|
No, I'm still using 1.0.1 (with my home-made Hebrew translation + a few hacks in the bbcode, which means that upgrading can be a bit tricky).
I'll try to upgrade to 1.0.2 in the next few days and see if it helps. |
|
#8 Tue Oct 10, 2006 1:19 pm
|
|
|
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
|
Please update to 1.0.2 asap.
_______________ |
Page: 1
UseBB Community is powered by UseBB 1 Forum Software