Hi,
I'd like to send a SET NAMES command to MySQL prior to the mysql_connect and mysql_select_db commands in the ZC code at includes/classes/db/mysql/query_factory.php. Is that possible? I could find no mention in the PHP cocumentation I searched.
The MySQL SET statement (of which the syntax I copy below) is one of the approaches we're working on to get full iso8859-7 compatibility for our soon-to-be Greek
Thanks,
Nikolas
-----------------------------------
SET
#
NAMES {'charset_name' [COLLATE 'collation_name'} | DEFAULT}
SET NAMES sets the three session system variables character_set_client, character_set_connection, and character_set_results to the given character set. Setting character_set_connection to charset_name also sets collation_connection to the default collation for charset_name. The optional COLLATE clause may be used to specify a collation explicitly. See Section 10.4, “Connection Character Sets and Collations”.
The default mapping can be restored by using a value of DEFAULT. The default depends on the server configuration.
Note that the syntax for SET NAMES differs from that for setting most other options. This statement is available as of MySQL 4.1.0.
------------------------------------------------
I'd like to locate the point(s) in the ZC code where the php command to connect to the store db is given. I unserstood that the relevant php commands I should look for would be
mysql_connect
mysql_select_db
Usind Developer's Tool Kit in Admin I searched foe these two but came up with nothing.
Bookmarks