summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/it_dbi.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/it_dbi.t b/tests/it_dbi.t
index ca39f1f..006c4d8 100755
--- a/tests/it_dbi.t
+++ b/tests/it_dbi.t
@@ -275,6 +275,11 @@ is(
);
$GLOBALS['debug_sqllog'] = false;
+# test latin1 (produces warnings on stderr for failing)
+
+$record = new it_dbi(array('table' => 'it_dbi_test', 'charset' => 'latin1'));
+$record->select(array('foo' => "\xc3\x28"));
+
# Test field localization feature
$dbi->query('create temporary table it_dbi_testlocalized (