Changeset 10143 for temp/trunk/html


Ignore:
Timestamp:
2006/12/04 14:35:38 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/system/bkup.php

    r10142 r10143  
    294294    if (count($array) > 0) { 
    295295        foreach($array as $key => $val) { 
    296             if ($val == "") { 
    297                 $line .= "NULL,"; 
    298             }else{ 
    299                 $data = str_replace("\"", "\\\"", $val); 
    300                 $line .= "\"".$data."\","; 
    301             } 
    302             $line = ereg_replace(",$", "\n", $line); 
    303         } 
     296            $val = mb_convert_encoding($val, CHAR_CODE, CHAR_CODE); 
     297            $val = str_replace("\"", "\\\"", $val); 
     298            $line .= "\"".$val."\","; 
     299        } 
     300        $line = ereg_replace(",$", "\n", $line); 
     301    }else{ 
     302        return false; 
    304303    } 
    305304    return $line; 
    306305} 
    307  
    308306 
    309307// Á´¥Æ¡¼¥Ö¥ë¥ê¥¹¥È¤ò¼èÆÀ¤¹¤ë 
Note: See TracChangeset for help on using the changeset viewer.