#635 Mysql UTF8 problems RHEL4

Database
closed
MySQL (31)
5
2014-07-29
2011-01-04
Reini Urban
No

Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
PHP 4.3.9 (cgi) (built: Nov 13 2010 16:10:31)
mysql Ver 14.7 Distrib 4.1.22, for redhat-linux-gnu (i386) using readline 4.3

SET NAMES 'utf8' is not enough for utf tables.

I had to use:
if (MYSQL_BROKEN_UTF8)
mysql_query("SET CHARACTER SET 'latin1'");
so that libmysql from php uses latin1 for the transport and the server translates it back to utf8.

Discussion

  • Marc-Etienne Vargenau

    • status: open --> closed
     
  • Marc-Etienne Vargenau

    Closing very old bugs.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks