Changeset 2087


Ignore:
Timestamp:
02/26/10 16:47:36 (14 years ago)
Author:
niltonneto
Message:

Ticket #929 - Corrigido problema causado por chaves em assunto de mensagem utf8.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.functions.inc.php

    r1572 r2087  
    116116                $h = ord($c{0});    
    117117                    if ($h <= 0x7F || $h < 0xC2) { 
    118                         $result .= $c; 
     118                        // fixing curly brackets 
     119                        if($h == 0x7B || $h == 0x7D) 
     120                                $result .= "&#" . $h . ";"; 
     121                        else 
     122                                $result .= $c; 
    119123                    } 
    120124                        else if ($h <= 0xDF) { 
Note: See TracChangeset for help on using the changeset viewer.