56c56,62 < if ( strpos( $p_str, csv_get_separator() ) !== false ) { --- > $t_escaped = str_split( '"' . csv_get_separator() . csv_get_newline() ); > $t_must_escape = false; > while( ( $t_char = current( $t_escaped ) ) !== false && !$t_must_escape ) { > $t_must_escape = strpos( $p_str, $t_char ) !== false; > next( $t_escaped ); > } > if ( $t_must_escape ) {