Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2016-01-15 03:07:44 +0300
committerThomas Steur <thomas.steur@gmail.com>2016-01-15 03:07:44 +0300
commit54428a657ca81211f0ffdd137b724d8a01398703 (patch)
tree3f7ba2de93104ec451d6c2465fb9925a4be6605f /plugins/Diagnostics
parent6d00a6a60f3d0332fa0b3d6ae5562c9339a6e962 (diff)
add possibility to specify charset when importing in batch
Diffstat (limited to 'plugins/Diagnostics')
-rw-r--r--plugins/Diagnostics/Diagnostic/LoadDataInfileCheck.php3
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());