Evolution decodes ISO-2022-JP incorrectly.

Bug #119997 reported by Paul Wagland
2
Affects Status Importance Assigned to Milestone
Evolution
Unknown
Medium
glibc (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: evolution

When evolution shows a message in the ISO-2022-JP character set it incorrectly starts decoding as 'JIS X 0201-1976 ("Roman" set)' instead of as ASCII. The specification (RFC 1468) says that text starts in ASCII, and only switches to Japanese characters through an escape sequence. The "Roman" set is considered to be "Japanese" for this discussion. For the most part, this does not matter, as The "Roman" character set of JIS X 0201 [JISX0201] is identical to ASCII except for backslash () and tilde (~). The backslash is replaced by the Yen sign, and the tilde is replaced by overline.

That is, given the mail message:

------_=_NextPart_001_01C7ACC7.8B7C4F65
Content-Type: text/plain; charset="ISO-2022-JP"
Content-Transfer-Encoding: 7bit

next.url=http\://go.to.there/

It should be displayed as:

next.url=http\://go.to.there/

However, evolution incorrectly displays it as:

next.url=http¥://go.to.there/

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug. What version of Ubuntu do you use?

Changed in evolution:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Paul Wagland (paul-kungfoocoder) wrote :

ii evolution 2.11.4-0ubuntu1 groupware suite with mail client and organizer

Ubuntu distribution : Gutsy.

Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in evolution:
status: Incomplete → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

upstream comment:

"sounds like a bug in glibc's iconv() functions (we don't decode ourselves at
all, all we do is pass it thru the iconv conversion functions in glibc)"

reassigning to glibc

Changed in evolution:
assignee: desktop-bugs → nobody
Changed in evolution:
status: Unknown → Invalid
Changed in evolution:
importance: Unknown → Medium
status: Invalid → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.