|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68218 mysqli_set_charset not working properly
Submitted: 2014-10-13 12:50 UTC Modified: 2014-12-30 10:42 UTC
From: aeon at labs dot gr Assigned:
Status: No Feedback Package: MySQLi related
PHP Version: 5.6.1 OS: Tested on Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-10-13 12:50 UTC] aeon at labs dot gr
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 "������" 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-10-17 13:23 UTC]
-Package: MySQL related +Package: MySQLi related
 [2014-11-17 09:45 UTC]
-Status: Open +Status: Feedback
 [2014-11-17 09:45 UTC]
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.
 [2014-12-30 10:42 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jun 20 16:01:30 2024 UTC