From 66d93756b9baa30b1093a9e6dae913874b3aeb0f Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Wed, 10 Aug 2016 12:06:44 +0200 Subject: add test for latin1 select --- tests/it_dbi.t | 5 +++++ 1 file changed, 5 insertions(+) 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 ( -- cgit v1.2.3