FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
Is it possible to set character_set_results ... for mysql 5.0... from fudforum code?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31875&th=6560#msg_31875
I use FudForum 2.7.4/koi8r with mysql 5.0.21 on a host.
I'm trying move forum on another host with mysql 5.0.21:
mysql> use fud;
mysql> show variables like "character%";
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | utf8 |
| character_set_connection | utf8 |
| character_set_database | koi8r |
| character_set_filesystem | binary |
| character_set_results | utf8 |
| character_set_server | utf8 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.00 sec)
Make datadump, install on new server fudforum, import forum data
and got a lot of '???????????' in the place koi8 chars.
Is it a pretty way to set mysql connection settings for fudforum and for adm procedures? I can't change default settings on the server. There are another users and applications. Is it enough
add the 'SET character_set....' near connect_func in db.inc's, index.php, pdf.php, rdf.php,... or I must to change forum dump too?
]]>AleZ2006-05-22T08:16:34-00:00Re: Is it possible to set character_set_results ... for mysql 5.0... from fudforum code?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31885&th=6560#msg_31885
DEFAULT CHARA CTER SET latin1
line to
DEFAULT CHARA CTER SET koi8r
this should do the trick.]]>Ilia2006-05-22T14:12:43-00:00Re: Is it possible to set character_set_results ... for mysql 5.0... from fudforum code?
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=31897&th=6560#msg_31897
AleZ2006-05-22T21:58:28-00:00