diff options
author | Urban Müller | 2012-12-10 16:47:19 +0000 |
---|---|---|
committer | Urban Müller | 2012-12-10 16:47:19 +0000 |
commit | 0902a364fc9d9a76dae421d40fcf8ed995a5ce56 (patch) | |
tree | 839dabbbb22736407cd566f41bdba60c4484462a /it_pipe.class | |
parent | fbb565148b21dbeb4d2a821fbd2b1f0700ea14f2 (diff) | |
download | itools-0902a364fc9d9a76dae421d40fcf8ed995a5ce56.tar.gz itools-0902a364fc9d9a76dae421d40fcf8ed995a5ce56.tar.bz2 itools-0902a364fc9d9a76dae421d40fcf8ed995a5ce56.zip |
comment iso-8859
Diffstat (limited to 'it_pipe.class')
-rw-r--r-- | it_pipe.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_pipe.class b/it_pipe.class index a5a3f7b..ffd69d1 100644 --- a/it_pipe.class +++ b/it_pipe.class @@ -166,7 +166,7 @@ function csv() foreach (preg_grep('/^$/', $schema) as $idx => $dummy) $schema[$idx] = "field$idx"; - $oldlocale = setlocale(LC_CTYPE, 'de_CH.iso-8859-1'); + $oldlocale = setlocale(LC_CTYPE, 'de_CH.iso-8859-1'); # this works for utf-8 as well foreach ($this->lines as $line) $records[] = (object)array_combine($schema, str_getcsv($line, $splitchar, '"')); # could do a function_exists('str_getcsv') here... |