Go Back   Pligg CMS Forum > Pligg Help > General Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-20-2006, 12:18 AM
wanderingcat's Avatar
New Pligger
 
Join Date: Dec 2006
Posts: 8
Thanks: 3
Thanked 0 Times in 0 Posts
HELP: Chinese display problem

Hi guys,

I tried plig 7.2, 8.2 and even 9.0 on my web site, neither of them work properly with Chinese title, tags, or comments.

There are always some "?" or other weird symbols in them. I have searched this whole forum and read all post about Chinese display and could not fix this problem.

My enviroment:

PHP Version 4.3.10
Apache 1.3.34 (Win32) mod_gzip/1.3.17.1a
MYSQL 4.1.12a-nt

Could this be possibly caused by any of Php , apache or mysql above? too old version?

Here is the link to a sample page with this problem:

http://6dig.com/

Thank you very for any comments / suggestion ! :-)
Reply With Quote
  #2 (permalink)  
Old 12-20-2006, 12:26 AM
wanderingcat's Avatar
New Pligger
 
Join Date: Dec 2006
Posts: 8
Thanks: 3
Thanked 0 Times in 0 Posts
here is a sample:

白色的�?�塑性让时尚大师们�?�迷 �?已,所以在2007春�?女装展中,�?�大�?牌中�?以白色作为最具代表性的色彩,宛如�?�金� ?�?般高贵优雅�?�?�春女孩般清新秀丽 �?或是独具风味的精致�?�?民俗风…�?��?丰富�?�貌,以�?�?�的鲜明手法表现于07春�? 的女装时尚舞�?�。
Reply With Quote
  #3 (permalink)  
Old 12-20-2006, 01:27 AM
wanderingcat's Avatar
New Pligger
 
Join Date: Dec 2006
Posts: 8
Thanks: 3
Thanked 0 Times in 0 Posts
haha i think i fixed it!

in file libs/db.php:

I added the following just before

$this->select($dbname);


Quote:
$dbcharset='utf8';
mysql_query("SET character_set_connection=$dbcharset, character_set_results=$dbcharset, character_set_client=binary");
then it works!!! :-)
Reply With Quote
  #4 (permalink)  
Old 07-18-2007, 11:49 PM
KaneYoung's Avatar
New Pligger
 
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
cool,you make it yourself
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
a serious problem about databackup for Pligg Chinese Version KaneYoung Bug Report 1 07-18-2007 02:09 PM
Duplicate URLs Utf-8 Chinese categories problem in Pligg beta 9 build 693 tiwe Bug Report 2 02-10-2007 09:59 PM
Chinese word cut problem viegent Bug Report 12 01-13-2007 07:28 AM
Category Display Problem nero Bug Report 8 12-24-2006 12:22 PM
Problem display profile kultura Bug Report 0 12-19-2006 09:00 PM


Search Engine Friendly URLs by vBSEO 3.2.0