[php-src] Issue #8576: PDO_Firebird: Bad interpretation of length when char is UTF-8

From: Date: Wed, 18 May 2022 16:42:20 +0000
Subject: [php-src] Issue #8576: PDO_Firebird: Bad interpretation of length when char is UTF-8
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-241534@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8576 Author: danielbredasantos ### Description When I have a database with UTF-8 charset and a field with UTF-8 char(1), the sql command should return a string with 1 position, but it returns a string with 4 positions. Ex.: Will return "A" - Char(1), But return "A " - Char(1) You must check the field size with SQL_VARYING. ### PHP Version PHP 8.1.2 ### Operating System Windows 11

« previous php.bugs (#241534) next »