Changeset 15545


Ignore:
Timestamp:
2007/09/01 18:35:49 (13 years ago)
Author:
nanasess
Message:

CSV 出力時の改行コードを CRLF に修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/helper/SC_Helper_CSV.php

    r15543 r15545  
    145145            } 
    146146            // 文末の","を変換 
    147             $line = ereg_replace(",$", "\n", $line); 
     147            $line = ereg_replace(",$", "\r\n", $line); 
    148148        } 
    149149        return $line; 
     
    176176        } 
    177177        // 文末の","を変換 
    178         $line = ereg_replace(",$", "\n", $line); 
     178        $line = ereg_replace(",$", "\r\n", $line); 
    179179        return $line; 
    180180    } 
     
    200200        } 
    201201        // 文末の","を変換 
    202         $line = ereg_replace(",$", "\n", $line); 
     202        $line = ereg_replace(",$", "\r\n", $line); 
    203203        return $line; 
    204204    } 
Note: See TracChangeset for help on using the changeset viewer.