• First of all, I am from Sweden and my English is not the best in the word.

    Now to my question. I?′m trying to set up a WordPress blog and I would really like to update this blog from my cellular phone. I mail my blog post from my phone to a special email I have set up for just this purpose. And then I use wordpress to check this email account and then update my blog. You know how it works, dona€?t you?

    But my problem is this, the blog subject really looks strange. It could look like this in my blog a€“ a€?=?ISO-8859-1?Q?Test?=a€?.

    I have tried to change the character encoding from UTF-8 to ISO-8859-1 but the problem is the same.

    What can I do to get a subject that looks normal?

    I use WordPress 1.5.1.2.

    Anders

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m suffering a similar problem. I can post without problem from a normal email account, but get gibberish when posting from my phone. My phone sends email encoded in UTF-8, while my email client sends in ISO-8859-1, so it would seem this is the problem. I think the solution would be to convert the string format inside the wp_mail script, which is what I’m gonna try and do. I’ll obviously post the solution, should I find one, but any help from someone more expert would be appreciated. (I’m a novice with PHP.)

    I suggest you send test emails from an account that works for posting, as well as your phone, and use you email client to view the message source. You should find a line like…

    Content-Type: text/plain; charset=ISO-8859-1;

    … in both. Posting the type of encoding from your phone should make it easier for people to help.

    My problem was solved when I found my phone was sending emails encoded in base64, and I suspect that is where things are going wrong for you too. I found I just had to edit the script to use the function ‘base64_decode’ on ‘body’, and on a substring of ‘subject’.

    Thread Starter sadsmile

    (@sadsmile)

    Thanks for the help. But I dona€?t really understand what and where I shall change the code. Can you please give me some more help?

    silvasonic

    (@silvasonic)

    i’m having the same problems. posting from either entourage (ms exchange client / osx) or my phone (treo 600 / using goodlink e-mail client) with extended characters will get me nothing but messed up text (e.g. Fran=?UTF-8?B?w6c=?=a imunizou animais dom=?UTF-8?B?w6k=?=sticos). any patches on this yet? i’m using version 2.01. tks / obrigado!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem whit character encoding’ is closed to new replies.