Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#1484286 closed Bugs (invalid)

Bug with russian charsets

Reported by: crick Owned by:
Priority: 3 Milestone:
Component: Client Scripts Version: 0.1-beta2
Severity: major Keywords: charset koi8-r russian
Cc:

Description

The header of the letter is displayed incorrectly. Though the body of the letter is displayed correctly. The letter is written in charset=KOI8-R. Sorry for my bad english.

Attachments (3)

message.png (24.5 KB) - added by crick 6 years ago.
message.txt (2.7 KB) - added by crick 6 years ago.
utf8_subject_encoding.gif (2.7 KB) - added by moc 6 years ago.

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by crick

Changed 6 years ago by crick

comment:1 Changed 6 years ago by thomasb

  • Keywords charset koi8-r russian added
  • Resolution set to invalid
  • Status changed from new to closed

Subject header does not specify charset and is assumed to be US-ASCII. Thunderbird does not display it either. This message is not correctly formatted. Not a RoundCube bug.

comment:2 Changed 6 years ago by crick

  • Resolution invalid deleted
  • Status changed from closed to reopened

But your competitors (openwebmail, SquirrelMail?) are able to process headings of such messages correctly.

comment:3 Changed 6 years ago by moc

  • Resolution set to invalid
  • Status changed from reopened to closed

Subject header can be encoded in different encoding than US-ASCII. I sent an email using Roundcube with the UTF-8 encoding of the subject. In Roundcube it has been displayed correctly (see the attached GIF). Below there is a part of the source of my email (see the encoding of the subject header):

MIME-Version: 1.0
Date: Wed, 21 Mar 2007 19:00:54 +0100
From: <amocilnik@dotcom.ts.it>
To: amocilnik@dotcom.ts.it
Subject: 
 =?UTF-8?Q?=D0=BA=D0=BE=D0=BB=D0=B5=D0=BF=D0=BD=D0=BE=D0=B9_=D0=9F=D0=BB=D0=BE=D1=89=D0=B0=D0=B4=D1=8C=D1=8E_=D0=9E=D0=B1=D1=8A=D0=B5=D0=B4=D0=B8=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F_(Piazza_Unit=C3=A0)_=D0=BD=D0=B0=D1=85=D0=BE=D0=B4=D1=8F=D1=89=D0=B5=D0=B9=D1=81=D1=8F?=
Message-ID: <ca5d2c8ea0a290967f403cdbd8d9bcf8@localhost>
X-Sender: amocilnik@dotcom.ts.it
User-Agent: DotCom Webmail
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit

колепной Площадью Объединения (Piazza Unità) находящейся

...

Roundcube decodes the headers correctly. The problem here is that the subject has not been encoded in KOI8-R.

So I confirm that this is not a Roundcube bug.

Changed 6 years ago by moc

comment:4 Changed 6 years ago by thomasb

Created fallback on message charset if no charset specified in header string. Test message does now appear correctly ([f1154163]).

Note: See TracTickets for help on using tickets.