Bug #68218 [Opn->Fbk]: mysqli_set_charset not working properly

From: Date: Mon, 17 Nov 2014 09:45:40 +0000
Subject: Bug #68218 [Opn->Fbk]: mysqli_set_charset not working properly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-188632@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68218&edit=1 ID: 68218 Updated by: johannes@php.net Reported by: aeon at labs dot gr Summary: mysqli_set_charset not working properly -Status: Open +Status: Feedback Type: Bug Package: MySQLi related Operating System: Tested on Linux PHP Version: 5.6.1 Block user comment: N Private report: N New Comment: Please provide a complete test script including hexdump of your greek string (i.e. for ($i = 0; $i < strlen($greek_string); ++$i) { printf(" 0x%x", $greek_string[$i]); }) PLease also provide the client api being used for both your PHP versions (see phpinfo() mysqli section) as well as the server version you are connecting to. Previous Comments: ------------------------------------------------------------------------ [2014-10-13 12:50:40] aeon at labs dot gr Description: ------------ mysqli_set_charset($sqllink,"greek") is working perfectly on php-5.5.x but not on php-5.6.x for example: with php-5.5.17 i get "ΠΑΥΛΟΣ" (which is correct) but with php-5.6.1 i get "������" ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68218&edit=1

« previous php.bugs (#188632) next »