Opened 4 years ago

Closed 4 years ago

#1486031 closed Bugs (fixed)

r2816 changes make encoding breaks

Reported by: adurelli Owned by:
Priority: 5 Milestone: 0.3-stable
Component: PHP backend Version: git-master
Severity: normal Keywords:
Cc:

Description

The exclusion of the following line (file program/lib/washtml.php) in r2816 makes the encoding for ISO-8859-1 breaks.

$html = mb_convert_encoding($html, 'HTML-ENTITIES', $this->configcharset?);

Brazilian Portuguese characters are not displayed correctly in the preview pane or in message view. Message list is ok. Tested in IE8.

If I reinsert the mentioned line in r2838 the message is displayed correctly.

Thanks

Attachments (2)

encoding.JPG (161.3 KB) - added by adurelli 4 years ago.
Wrong encoding ISO-8859-1
sample_message.txt (5.7 KB) - added by adurelli 4 years ago.
Sample message, wrong encoding

Download all attachments as: .zip

Change History (7)

comment:1 Changed 4 years ago by alec

Please, attach sample message.

comment:2 Changed 4 years ago by adurelli

Ok, I´ve attached a sample message. As mentioned the problem is in the preview pane with some accented characters.

Changed 4 years ago by adurelli

Wrong encoding ISO-8859-1

comment:3 Changed 4 years ago by alec

Sample message source, please.

Changed 4 years ago by adurelli

Sample message, wrong encoding

comment:4 Changed 4 years ago by adurelli

Ah sorry... New attachment uploaded.

comment:5 Changed 4 years ago by alec

  • Component changed from User Interface to PHP backend
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [f4bf206f].

Note: See TracTickets for help on using tickets.