Ignore:
Timestamp:
07/08/10 17:52:20 (14 years ago)
Author:
amuller
Message:

Ticket #1135 - Aplicando alterações do branches 2.0 no branches 2.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/inc/class.functions.inc.php

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