You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Encoding + Greek text = ProblemBIG PROBLEM here...
I decided to migrate my e-mail and start using Opera Mail (in conjunction with MyOpera Mail). The problem is that in some messages and when the content is written in Greek, the message is like "Óáò åõ÷áñéóôïýìå ãéá ôçí ðñïôßìçóç". It doesn't happen on the subject of the e-mail. The problem happens when using Opera Mail client and mail.opera.com but there is no problem when i read the affected messages via my mobile (A Windows Phone). There is no problem at all even when viewing that messages using Gmail with Opera.
It will be disastrous for me if i can't find a way to solve this, so any help is greatly appreciated.
PS: There is no problem when surfing the web. The problem is with some e-mails written in greek and when viewing them from Opera Mail or MyOpera webmail.
PS2: I'm using Opera 11.61 and Windows 7 32-bit.
27. February 2012, 22:46:55 (edited)
Return-Path: <firstname.lastname@example.org> Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by sloti27d3p1 (Cyrus git2.5+0-git-fastmail-7704) with LMTPA; Mon, 27 Feb 2012 16:39:02 -0500 X-Sieve: CMU Sieve 2.4 X-Spam-score: 3.8 X-Spam-hits: BAYES_50 0.8, FROM_12LTRDOM 0.315, FSL_HELO_NON_FQDN_1 0.001, HELO_NO_DOMAIN 0.001, MIME_QP_LONG_LINE 0.001, MISSING_MIMEOLE 1.899, RDNS_NONE 0.793, BAYES_USED global, SA_VERSION 3.3.1 X-Spam-source: IP='220.127.116.11', Host='noreverse', Country='GR', FromHeader='gr', MailFrom='gr' X-Spam-charsets: subject='iso-8859-7', from='iso-8859-7', to='iso-8859-7' X-Resolved-to: MAIL REMOVED X-Delivered-to: MAIL REMOVED X-Mail-from: email@example.com Received: from tmx1.thor.mail.srv.osa ([10.205.129.141]) by compute2.internal (LMTPProxy); Mon, 27 Feb 2012 16:39:02 -0500 X-Remote-Spam-greylist: Passed. Delay was 2816 seconds. Received: from localSMTP (unknown [18.104.22.168]) by tmx1.thor.mail.srv.osa (Postfix) with ESMTP id 015F24020AE for <MAIL REMOVED>; Mon, 27 Feb 2012 16:38:59 -0500 (EST) Received: from WebStoreIIS1.Papasotweb.local ([127.0.0.1]) by localSMTP with Microsoft SMTPSVC(6.0.3790.3959); Mon, 27 Feb 2012 23:50:48 +0200 Subject: =?iso-8859-7?Q?=C1=EB=EB=E1=E3=DE_=EA=F9=E4=E9=EA=EF=FD_=F0=F1=FC=F3=E2=E1=F3=E7=F2_=EC=DD=EB=EF=F5=F2?= Sender: "=?iso-8859-7?Q?info@papasotiriou=2Egr?=" <firstname.lastname@example.org> From: "=?iso-8859-7?Q?info@papasotiriou=2Egr?=" <email@example.com> Date: Mon, 27 Feb 2012 23:50:48 +0200 To: "=?iso-8859-7?Q?MAIL REMOVED=2Ecom?=" <MAIL REMOVED>, "=?iso-8859-7?Q?MAIL REMOVED=" <MAIL REMOVED> Reply-To: firstname.lastname@example.org X-Priority: 3 X-MSMail-Priority: Normal Content-Transfer-Encoding: Quoted-Printable MIME-Version: 1.0 X-Mailer: JMail 4.2.0 Free Version by Dimac Content-Type: text/plain Message-ID: <WEBSTOREIIS1AQV6uPD00001efd@localSMTP> X-OriginalArrivalTime: 27 Feb 2012 21:50:48.0854 (UTC) FILETIME=[DDE5FB60:01CCF599] X-Truedomain-Domain: papasotiriou.gr X-Truedomain-SPF: Fail (tmx1: domain of papasotiriou.gr does not designate 22.214.171.124 as permitted sender) X-Truedomain-DKIM: No Signature X-Truedomain-ID: 42941A576F7324F01D5638A8491170ED X-Truedomain: Neutral =D7=E1=E9=F1=E5=F4=E9=F3=EC=EF=FD=F2 =E1=F0=FC =F4=EF papasotiriou=2Egr =CC=E5 =E1=F5=F4=FC =F4=EF =EC=DE=ED=F5=EC=E1 =F3=E1=F2 =E5=ED=E7=EC=E5=F1=FE= =ED=EF=F5=EC=E5 =F0=F9=F2 =E1=ED=F4=E9=EA=E1=F4=E1=F3=F4=DC=E8=E7=EA=E5 =F4=EF= email =F3=E1=F2 =E1=F0=FC: MAIL REMOVED=2Ecom =F3=E5: MAIL REMOVED=2Eme =FC=F0=F9=F2 =E5=F0=E9=EB=DD=EE=E1=F4=E5 =E1=F0=EF =F4=E9=F2 =F5=F0=E7=F1=E5= =F3=DF=E5=F2 =EC=DD=EB=EF=F5=F2=2E =C1=ED =E4=E5=ED =F0=F1=E1=E3=EC=E1=F4=EF=F0=EF=E9=DE=F3=E1=F4=E5 =E5=F3=E5=DF= =F2 =E1=F5=F4=DE =F4=E7=ED =E1=EB=EB=E1=E3=DE =DE =E3=E9=E1 =EF=F0=EF=E9=EF=E4= =DE=F0=EF=F4=E5 =DC=EB=EB=E7 =E4=E9=E5=F5=EA=F1=DF=ED=E9=F3=E7 =F0=E1=F1=E1= =EA=E1=EB=EF=FD=EC=E5 =E5=F0=E9=EA=EF=E9=ED=F9=ED=DE=F3=F4=E5 =EC=E1=E6=DF =EC= =E1=F2 =F3=F4=EF info@papasotiriou=2Egr =D3=E1=F2 =E5=F5=F7=E1=F1=E9=F3=F4=EF=FD=EC=E5 =E3=E9=E1 =F4=E7=ED =F0=F1=EF= =F4=DF=EC=E7=F3=E7 papasotiriou=2Egr http://www=2Epapasotiriou=2Egr info@papasotiriou=2Egr
UPDATE: I managed to fix the problem on Opera Mail by changing browser's encoding to ISO-8859-7. But problem remains for mail.opera.com.
Originally posted by DJDBgr:
I managed to fix the problem on Opera Mail by changing browser's encoding to ISO-8859-7
Note that for messages you compose in Greek, on the outgoing tab in the mail account's properties, set the output encoding to utf-8. Keep the browser's encoding at "automatic". Then, it should just work. Use utf-8 everywhere.
I will play with the source of that message though to see what's up. Usually when you see stuff like "Óáò åõ÷áñéóôïýìå ãéá ôçí ðñïôßìçóç", it means that the message wasn't encoded correctly and is probably tagged with the wrong encoding. The sender should switch to utf-8 in their mail client though regardless.
Originally posted by DJDBgr:
It's missing the charset param. It should be:
Content-Type: text/plain; charset="iso-8859-7"
Then, it will work.
To test, save the message as greek.mbs and open it with a text editor and fix the Content-Type header. Then, in Opera, goto "Menu -> settings -> import and export -> import mail -> import generic mbox" and import it into a new account. You'll then see the message body looks as expected. You can then delete the account when you're done testing.
So, it's not a bug in Opera or mail.opera.com. It's a bug/charset config problem with the sender's mail client.
Originally posted by DJDBgr:
but the same problematic messages are correctly viewable on Gmail
I think Gmail converts all messages to UTF-8 for display in their UTF-8 web pages. Or, in the case of no charset explicitly mentioned in the content-type header (like the message above), Gmail might attempt to detect the language/charset itself from the text and use that charset for the page it uses to display the message's body.
I don't know if Opera (for either the built-in mail client or mail.opera.com) will go that route though. Opera usually implements stuff to follow the rules/standards and if something is nonstandard, it just breaks. mail.opera.com though is still beta and new, so maybe it'll get more advanced in this area.