Skip to content

IF FIELD IS BINARY #21

@gaffling

Description

@gaffling

You can add:

if (preg_match('~[^\x20-\x7E\t\r\n]~', $row[$j]) > 0) {
  $row[$j] = '0x' . bin2hex($row[$j]);
}

after:

$row[$j] = str_replace("\b","\\b",$row[$j]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions