Skip to content
Snippets Groups Projects
Commit 708b69c9 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Fix.

Rev: lib/modules/Sql.pmod/mysql.pike:1.27
parent ebf654c8
No related branches found
No related tags found
No related merge requests found
/*
* $Id: mysql.pike,v 1.26 2006/08/12 03:06:06 mast Exp $
* $Id: mysql.pike,v 1.27 2006/08/12 03:27:27 mast Exp $
*
* Glue for the Mysql-module
*/
......@@ -712,7 +712,9 @@ static void create(string|void host, string|void database,
update_unicode_encode_mode_from_charset (lower_case (charset));
if (options->unicode_decode_mode)
if (charset == "unicode")
utf8_mode |= UNICODE_DECODE_MODE;
else if (options->unicode_decode_mode)
set_unicode_decode_mode (1);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment