diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2016-01-15 03:07:44 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2016-01-15 03:07:44 +0300 |
commit | 54428a657ca81211f0ffdd137b724d8a01398703 (patch) | |
tree | 3f7ba2de93104ec451d6c2465fb9925a4be6605f /plugins/Diagnostics | |
parent | 6d00a6a60f3d0332fa0b3d6ae5562c9339a6e962 (diff) |
add possibility to specify charset when importing in batch
Diffstat (limited to 'plugins/Diagnostics')
-rw-r--r-- | plugins/Diagnostics/Diagnostic/LoadDataInfileCheck.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Diagnostics/Diagnostic/LoadDataInfileCheck.php b/plugins/Diagnostics/Diagnostic/LoadDataInfileCheck.php index 2c69111ebb..0d06ceef04 100644 --- a/plugins/Diagnostics/Diagnostic/LoadDataInfileCheck.php +++ b/plugins/Diagnostics/Diagnostic/LoadDataInfileCheck.php @@ -50,7 +50,8 @@ class LoadDataInfileCheck implements Diagnostic array($testOptionNames[0], '1'), array($testOptionNames[1], '2'), ), - $throwException = true + $throwException = true, + $charset = 'latin1' ); } catch (\Exception $ex) { $errorMessage = str_replace("\n", "<br/>", $ex->getMessage()); |