This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Problems with latin characters
#11

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.
---------------------------------------------------
Reply
#12

I tried everything you tell to us but nothing works the problem is still there Sad
Reply
#13

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.
---------------------------------------------------
Reply
#14

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 Sad
Reply
#15

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?
Reply
#16

hi steven!
i tried this on my files but it doesn´t fix the problem...

Reply
#17

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.
---------------------------------------------------
Reply
#18

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 Sad
maybe in an other life...
Reply
#19

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.
---------------------------------------------------
Reply
#20

Do the characters display correctly when you do a preview? If so then it is a database issue.

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
23-Feb-2014, 06:13 PM
Last Post by jegranet
13-Sep-2013, 09:31 PM
Last Post by ichole
29-Sep-2011, 02:17 AM
Last Post by Lee
25-Aug-2010, 03:20 PM

Forum Jump:


Users browsing this thread: 7 Guest(s)