Here is a fix for storing data in mysql with the utf8 Character Set.My Database includes UTF8 characters, and it seems to be typical "UTF8 in ADODB" problem.
gisco
Find the following two lines that start with. (there are more then one set in each script fix all of them)
Add this line below themCode:$connected = mysql_connect( $dataopened = mysql_select_db(
I should look like this:Code:mysql_set_charset('utf8',$connected);
If you need other then utf8 character coding just replace utf8 with the required character code.Code:$connected = mysql_connect( $dataopened = mysql_select_db( mysql_set_charset('utf8',$connected);
Skip


Reply With Quote
