note 30434 added to function.mysql-character-set-name

From: Date: Tue, 18 Mar 2003 12:52:27 +0000
Subject: note 30434 added to function.mysql-character-set-name
Groups: php.notes 
Request: Send a blank email to php-notes+get-45454@lists.php.net to get a copy of this message
wondering... now here's a function to return the character set of the client connection, why isn't there a function (or why is this function not able) to SET the character set of the connection? maybe an extra parameter to mysql_connect() or mysql_pconnect() ? since we're working on a multilingual database, SELECTs with ORDER BY clauses are causing us a headache. i've read in the MySQL manual that actually the character set used for encoding and sorting etc. can be chosen from the already installed character sets at connection time. is there a possibility to do this from PHP's connect calls? and if not, anyone knowing a roundabout? -- http://www.php.net/manual/en/function.mysql-character-set-name.php http://master.php.net/manage/user-notes.php?action=edit+30434 http://master.php.net/manage/user-notes.php?action=delete+30434 http://master.php.net/manage/user-notes.php?action=reject+30434

« previous php.notes (#45454) next »