Changeset b9787b3 in github


Ignore:
Timestamp:
Oct 23, 2011 4:26:17 AM (19 months ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
Children:
104e2353
Parents:
7e50b43
Message:
  • Add underline character to charset regexp
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_imap.php

    r7e50b43 rb9787b3  
    24042404                if (!$o_part->charset || strtoupper($o_part->charset) == 'US-ASCII') { 
    24052405                    // try to extract charset information from HTML meta tag (#1488125) 
    2406                     if ($o_part->ctype_secondary == 'html' && preg_match('/<meta[^>]+charset=([a-z0-9-]+)/i', $body, $m)) 
     2406                    if ($o_part->ctype_secondary == 'html' && preg_match('/<meta[^>]+charset=([a-z0-9-_]+)/i', $body, $m)) 
    24072407                        $o_part->charset = strtoupper($m[1]); 
    24082408                    else 
Note: See TracChangeset for help on using the changeset viewer.