Posted by: dcsaha | August 12, 2011

PHPLinkDirectory Unicode UTF-8 Characters Display Problem Solved

By default PHPLinkDirectory does not display unicode utf-8 coded characters. You need to change the init.php file at the root of your phpld directoy.

Edit init.php in both home directory of your phpld installation and the admin directory.

Change:
// $setCharset = $db->Execute (“SET NAMES ‘utf8′”);
// $setCharset = $db->Execute (“SET CHARACTER SET utf8″);

to:
$setCharset = $db->Execute (“SET NAMES ‘utf8′”);
$setCharset = $db->Execute (“SET CHARACTER SET utf8″);

For more detail: http://www.karolos.com/unicode-utf-8-characters-problem-solved-in-phpld/

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Categories

Follow

Get every new post delivered to your Inbox.