> Subject: [PHP] Re: Junk characters in e-mail > > Are those supposed to be the swedish characters and you get junk instead? > What does the header look like? Are you trying to have the email encoded > in > UTF - 8? Are you sending out the mail with mail or mb_send_mail? Need a > few more details. >
No, they're not supposed to be there at all! The junk is added after the last expected character. Just like in the example I pasted in: Thank you! 4 ^m N?*N j j yu?8=j{*? The exclamation point is supposed to be the last character in the mail. The texts added to the mail are added from php variables. Every php file is UTF-8 encoded, and the scripts make use of mail() function. I can send you a status page from my php and an example of the script in question if you have the time to look into it. Regards, Anders Norrbring > > Hi! > First of all, I have no idea if my problem is php or Postfix related, thus > the cross-post. > > Every e-mail sent out from my server by a php script ends with a string of > junk characters, they're not the same from different scripts and of course > not to be found anywhere in the code. > > Example: > > Thank you! > 4 ^m N?*Nj j yu?8=j{*? > > > As of what I know, every file, including the html and php files are UTF-8 > encoded to be able to cope with Swedish characters, but the Swedish > characters haven't been present in the e-mails I've tested with so far. > > Any ideas? > > Thanks, > Anders Norrbring > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > __________ NOD32 1.718 (20040414) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.nod32.com
smime.p7s
Description: S/MIME cryptographic signature