Changeset 1355 in subversion
- Timestamp:
- May 5, 2008 5:59:56 AM (5 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/steps/mail/func.inc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r1354 r1355 5 5 ---------- 6 6 - Installer: encode special characters in DB username/password (#1485042) 7 - Do charset conversion also for from/to column on messages list 7 8 8 9 2008/05/02 (alec) -
trunk/roundcubemail/program/steps/mail/func.inc
r1350 r1355 232 232 233 233 $out .= sprintf("<td class=\"icon\">%s</td>\n", $message_icon ? sprintf($image_tag, $skin_path, $message_icon, '') : ''); 234 234 235 235 // format each col 236 236 foreach ($a_show_cols as $col) 237 237 { 238 238 if ($col=='from' || $col=='to') 239 $cont = Q(rcmail_address_string( $header->$col, 3, $attrib['addicon']), 'show');239 $cont = Q(rcmail_address_string(rcube_imap::decode_mime_string($header->$col, $header->charset), 3, $attrib['addicon']), 'show'); 240 240 else if ($col=='subject') 241 241 { … … 326 326 { 327 327 if ($col=='from' || $col=='to') 328 $cont = Q(rcmail_address_string( $header->$col, 3), 'show');328 $cont = Q(rcmail_address_string(rcube_imap::decode_mime_string($header->$col, $header->charset), 3), 'show'); 329 329 else if ($col=='subject') 330 330 { … … 1278 1278 { 1279 1279 global $IMAP, $PRINT_MODE, $CONFIG, $OUTPUT, $EMAIL_ADDRESS_PATTERN; 1280 1280 1281 1281 $a_parts = $IMAP->decode_address_list($input); 1282 1282 … … 1292 1292 $j++; 1293 1293 if ($PRINT_MODE) 1294 $out .= sprintf('%s <%s>', Q( $part['name']), $part['mailto']);1294 $out .= sprintf('%s <%s>', Q(rcube_charset_convert($part['name'])), $part['mailto']); 1295 1295 else if (preg_match($EMAIL_ADDRESS_PATTERN, $part['mailto'])) 1296 1296 {
Note: See TracChangeset
for help on using the changeset viewer.
