Skip to content

Commit b663919

Browse files
committed
Try to fix character encoding
1 parent 586e2ea commit b663919

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/pdo/tests/bug_36798.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ $db = PDOTest::factory();
2929
$db->exec("CREATE TABLE test36798 (id INTEGER)");
3030
$db->exec("INSERT INTO test36798 (id) VALUES (1)");
3131

32-
$stmt = $db->prepare("SELECT '' as test FROM test36798 WHERE id = :id");
32+
$stmt = $db->prepare("SELECT 'Ã' as test FROM test36798 WHERE id = :id");
3333
$stmt->execute(array(":id" => 1));
3434

3535
$row = $stmt->fetch(PDO::FETCH_NUM);
@@ -45,5 +45,5 @@ PDOTest::dropTableIfExists($db, "test36798");
4545
--EXPECT--
4646
array(1) {
4747
[0]=>
48-
string(1) ""
48+
string(1) "Ã"
4949
}

0 commit comments

Comments
 (0)