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
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 10, 2013 - 4:50 pm

hmmmm... I see Andy's references in the working plugin...  but I dont see them (line number wise) in the current released plugin.... that bothers me since both say same version...  Andy must have some changes forth coming and not updated the release number...

but yes, in the current released version, the line would be 45...

Avatar
Graham Tappenden
Member
Free Members
sp_UserOfflineSmall Offline
May 11, 2013 - 3:00 pm

OK, this is really strange.

After you confirmed line 45 to me, I decided to try it again but to use a different text in the e-mail.  I have changed nothing else in the configuration except adding that line.

 

If I send a "real" text in the e-mail, ie. a German text containing those characters, it now works.

If I send the characters on their own, like in the sample I sent to the support e-mail address, I get the scrambled mess I was getting yesterday.

I've no idea why, but at least if the users post I presume that they will be using normal texts and it will work.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 11, 2013 - 6:15 pm

sounds like progress...  and yes, there is a difference...  all the content in a post goes through a bunch of filters and other actions to prepare it... so when its emailed, its likely been prepped to work...

not sure I can explain the emailing direct except for perhaps the encoding in the client not set up to handle it?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 12, 2013 - 4:18 am

Graham Tappenden said
OK, this is really strange.

Er... yes.

I think what I need to do is consolidate that code change properly so we can test it out here fully before we release an update. But I think that is going the right way and am sorry it was missed initially...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Graham Tappenden
Member
Free Members
sp_UserOfflineSmall Offline
May 20, 2013 - 6:18 am

I'm afraid I have another problem with the same function now.  If I send an e-mail with a photo attached but without any other text in the message body, it doesn't get posted and the log shows an error that roughly translates as "checking post content failed".

I pretty certain this worked before I made the change for the foreign characters, and if I add a line of text to the message it still works as well.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 20, 2013 - 11:40 am

Ha! No - sorry. I shouldn't laugh. It is one of those silly things that you don't think of...

If the post content is totally empty then new posts are rejected. This makes total sense of course. With PBE and IMAP, an attachment is NOT held and returned as a part of the content of the email. So in your case it just saw an empty email and stopped processing.

I will open a bug ticket and get this fixed up.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Tyge Fogh
Member
Free Members
sp_UserOfflineSmall Offline
Jun 29, 2013 - 2:19 pm

I got exactly the same problem with translation of Danish characters:

Translation: æ, ø, å, Æ, Ø og Å ???

tranlates to

Translation: =E6, =F8, =E5, =C6, =D8 og =C5=A0 ???

Same problem posting by email or new subject by email.

The plugin Subscriptions Works correctly. But that is the other way round...

It seems you havent solved the problem yet. At least not by updating the plugin.

Please provide a solution since the plugin is virtually unusable for me as it is now.

And please dont ask for any hardcore code or something. I am a user, not a programmer.

PS I made a danish translation for the languagefile for Post By Mail. Not working. I probably just have to wait for approvement? (I think i found the right folder for the .mo )

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jun 29, 2013 - 6:32 pm

there is a new version of the post by email plugin ready to go, but we cannot release it since WP continues to slip delivery of 3.6  unfortunately the post by email plugin needs our new version 5.3 for a couple of additions and our core changes were mandated by wp 3.6 changes... viscous circle, but we are caught up in wp  3.6 release issues (a couple months late now)..

I will have to let Andy (pbe author) address whether he thinks the changes to PBE plugin address your issue or not...

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 30, 2013 - 5:40 am

If it interests you I can probably suggest a small edit to the current code to see if that helps with the character issue. We can do that without supplying the whole next version prematurely.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Tyge Fogh
Member
Free Members
sp_UserOfflineSmall Offline
Jun 30, 2013 - 7:44 am

Fine. Lets try

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: 620
Members: 17367
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626