mirror of
https://github.com/parsecsv/parsecsv-for-php.git
synced 2026-02-19 08:36:39 +00:00
encoding
This commit is contained in:
@@ -494,11 +494,11 @@ class parseCSV {
|
|||||||
*/
|
*/
|
||||||
public function encoding ($input = null, $output = null) {
|
public function encoding ($input = null, $output = null) {
|
||||||
$this->convert_encoding = true;
|
$this->convert_encoding = true;
|
||||||
if ( $input !== null ) {
|
if (!is_null($input)) {
|
||||||
$this->input_encoding = $input;
|
$this->input_encoding = $input;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $output !== null ) {
|
if (!is_null($output)) {
|
||||||
$this->output_encoding = $output;
|
$this->output_encoding = $output;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user