Re: Messages in cp1251 encoding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry, forgot to write, that after putting line "MIME-Version: 1.0", SM
displays message correctly, only, when i select "Default Charset: cp1251"
in config. Other messages, which don't have line about mime-version,
contains "????"
With "Default Charset: utf-8" both messages contains "????"

> So, if i put manually "MIME-Version: 1.0" line in message (i have access
> to MailDir through file system), in SquirrelMail is same "????" instead of
> cyrillyc letters.
> now in message details header looks like:
> ......
> MIME-Version: 1.0
> Content-Type: text/plain; charset=windows-1251
> Content-Transfer-Encoding: 8bit
> ......
> If i open message in mcedit and select text encoding cp1251, all is
> displayed correctly.
> As I understand, according to RFC, "Content-Type" and
> "Content-Transfer-Encoding" fields are OK, symply, SM can't convert
> message body from cp1251 to utf8, it displaying message "as is". Am i
> correct?
>
>> We live in a world based on standards. Standard is not followed by some
>> third party. If they don't fix their stuff and other code adds
>> workarounds
>> for them, standard breakers will continue to break standards.
>>
>> If IMAP server says that message is in plain text rfc822 format,
>> SquirrelMail will follow provided information.
>>
>>> May be there is some "workaround" how to solve this problem? I noticed,
>>> that many other sites also not following RFC.
>>>
>>>> Contact securitylab.ru web developer and ask him or her to follow MIME
>>>> formating standards. RFC2045 chapter 4 requires MIME-Version header,
>>>> if
>>>> Content-Type (RFC2045 chapter 5) or Content-Transfer-Encoding (RFC2045
>>>> chapter 6) headers are used. If web developer does not follow MIME
>>>> standards, your IMAP server provides invalid information about message
>>>> structure and SquirrelMail can't display it correctly.
>>>>
>>>>> Subject:=?windows-1251?B?d3d3LnNlY3VyaXR5bGFiLnJ1OiBbRl0gzu/z4evo6u7i4O0g6u7kIA==?=
>>>>> =?windows-1251?B?/erx7+vu6fLgIOTr/yDz/+fi6Ozu8fLoIOIgSUUgOiDO4fHz5uTl7Q==?=
>>>>> =?windows-1251?B?6OUg7e7i7vHy5ek=?=
>>>>> Content-Type: text/plain; charset=windows-1251
>>>>> Content-Transfer-Encoding: 8bit
>>>>>
>>>>>>  <work <at> goc.lv> writes:
>>>>>>
>>>>>>>
>>>>>>> hello, I have trouble with receiving messages in cp1251, all
>>>>>>> cyrilyc
>>>>>>> letters in body are replaced with "????", at the same time i'm able
>>>>>>> to
>>>>>>> see
>>>>>>> "Subject" in cyrillic.
>>>>>>> configtest.php says, that everything is fine
>>>>>>> I'm using UTF-8.
>>>>>>> Tryed also different "Default Language" and "Default Charset" -
>>>>>>> same
>>>>>>> result.
>>>>>>> no error messages in log files
>>>>>>> lighttpd,php-5.2.1+fatcgi,squirrelmail-1.4.9a
>>>>>>> php compiled with unicode and all needed extentions present.
>>>>>>> I'm able to read those messages correctly with Thunderbird and in
>>>>>>> RoundCube.
>>>>>>
>>>>>> Enable message details plugin and check email source.
>>>>>>
>>>>>> Show MIME-Version, Content-Type and Content-Transfer-Encoding
>>>>>> headers.
>>>>>>
>>>>>> --
>>>>>> Tomas
>>>>>>
>>>>>>
>>>>>> -------------------------------------------------------------------------
>>>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to
>>>>>> share
>>>>>> your
>>>>>> opinions on IT & business topics through brief surveys-and earn cash
>>>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>>>>> --
>>>>>> squirrelmail-users mailing list
>>>>>> Posting Guidelines:
>>>>>> http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
>>>>>> List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
>>>>>> List Archives:
>>>>>> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
>>>>>> List Archives:
>>>>>> http://sourceforge.net/mailarchive/forum.php?forum_id=2995
>>>>>> List Info:
>>>>>> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> --
> squirrelmail-users mailing list
> Posting Guidelines:
> http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
> List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
> List Archives:
> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
> List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux