mabart / parsecsv-for-php

Automatically exported from code.google.com/p/parsecsv-for-php
MIT License
0 stars 0 forks source link

Encoding in output files #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use parseCSV::output()

What is the expected output? What do you see instead?
I expect this function (actually parseCSV::unparse() ) to take into 
consideration a value of parseCSV::convert_encoding, so if it is set to true it 
would convert the data.

What version of the product are you using? On what operating system?
not relevant

Please provide any additional information below.
In method unparse(),after line 446 and after 454 add:
if ( $this->convert_encoding ) $value = iconv($this->output_encoding, 
$this->input_encoding, $value);

Original issue reported on code.google.com by vPo...@gmail.com on 6 Oct 2010 at 5:11

Attachments: