Posts: 32
Threads: 11
Joined: Dec 2010
Please check before converting.
Test Code...
Quote:#
### OPEN----------
#
comments/includes/db/connect.php
#
### -- Find ----------
# Latest Line
?>
#
### ---- Before Add --------
#
echo "SET NAMES utf8: " . mysql_client_encoding(). "\n";
exit;
### Save and Set Server
And Brouse http://*****/example.php
Comments
SET NAMES utf8: ****
**** is Latin1(or not utf8) , Client_CharacterSet Trouble.
---------------------------------------------------
Commentics's Japanese Commentary Site
http://commentics.bbfriend.net/
*Sorry...I am not good at English.
---------------------------------------------------
Posts: 11
Threads: 1
Joined: Sep 2011
I tried everything you tell to us but nothing works the problem is still there
Posts: 32
Threads: 11
Joined: Dec 2010
Hi!
Please check
・PHP Version
・Mysql Version
・the character code of Mysql.
Ex. mysql> SHOW VARIABLES LIKE 'char%';
They have not been offered(written) yet, In this forum.
---------------------------------------------------
Commentics's Japanese Commentary Site
http://commentics.bbfriend.net/
*Sorry...I am not good at English.
---------------------------------------------------
Posts: 11
Threads: 1
Joined: Sep 2011
hi!
i checked all these things. but that don´t solve the problem. itried another script and that works perfekt:
http://gema.to/comments/comments.php
just the commentics way don´t works anyway:
http://www.gema.to/commentics/example/example3.php
i think i have to use the other script
Posts: 2,894
Threads: 59
Joined: Jun 2010
Hi ichole. On the example page which you linked to, there appears to be several BOM (byte order mark) symbols. This indicates that the files responsible for displaying the text on the screen are not encoded correctly. So what you need to do is to open each file in comments/includes/template/ using a programme like Notepad++, select Format -> Convert to UTF-8 without BOM, then save and upload these files back to the server. Let me know if that fixes it.
Have
you completed
the interview?
Posts: 11
Threads: 1
Joined: Sep 2011
hi steven!
i tried this on my files but it doesn´t fix the problem...
Posts: 32
Threads: 11
Joined: Dec 2010
Hi! ichole ,
Are all the character codes('comments/**
All File') changed?
I'm sorry
I forgot..
Encoding.
It is necessary to change a line feed code collectively.
'comments/** All File' UTF8 --> your
encoding
Example .This Tool
Simple Text Encoding Converter 1.0
www.freewarebox.com/free_19504_simple-text-encoding-converter-download.html
I batch converted with the different japanese tool.
---------------------------------------------------
Commentics's Japanese Commentary Site
http://commentics.bbfriend.net/
*Sorry...I am not good at English.
---------------------------------------------------
Posts: 11
Threads: 1
Joined: Sep 2011
Hi utaka!
Yes all character codes are changed.
and i have also done the encoding with this programm
but i´m sorry to tell you:
it doesn´t work at all
maybe in an other life...
Posts: 32
Threads: 11
Joined: Dec 2010
Hi!
What is your
・PHP Version
・Mysql Version
・the character code of Mysql.
Ex. mysql> SHOW VARIABLES LIKE 'char%';
Yet,Nothing is written. Bye..
---------------------------------------------------
Commentics's Japanese Commentary Site
http://commentics.bbfriend.net/
*Sorry...I am not good at English.
---------------------------------------------------
Posts: 2,894
Threads: 59
Joined: Jun 2010
Do the characters display correctly when you do a preview? If so then it is a database issue.
Have
you completed
the interview?