Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Problem with foreign characters in post by email
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 30, 2013 - 8:08 am

The file from within the plugin that you need is: /post-by-email/library/sp-email-post-imap.php

The function you need is: sp_process_inbox_imap()

Trawl down the code until you find this line of code:

if(empty($content) && $maybeNew) $content = $rawContent;

and then place the following line of code immediately after it:

$content = trim(utf8_encode(quoted_printable_decode($content)));

and let's see if that helps with your issue.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Tyge Fogh
Member
Free Members
sp_UserOfflineSmall Offline
Jun 30, 2013 - 4:06 pm

> Perfect fix. Thank you >

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 30, 2013 - 4:30 pm

np. glad we could help.  That is one of several changes in the next version of PBE...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625