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

Problems with latin characters
#21

(30-Sep-2011, 09:56 AM)Steven Wrote:  Do the characters display correctly when you do a preview? If so then it is a database issue.

No, the characters also don´t displays correctly in the preview
Reply
#22

(30-Sep-2011, 02:19 AM)utaka Wrote:  Hi!
What is your
・PHP Version
・Mysql Version
・the character code of Mysql.
Ex. mysql> SHOW VARIABLES LIKE 'char%';

Yet,Nothing is written. Bye..

php 5.0
mysql 5.0
character code:
character_set_client utf8
character_set_connection utf8
character_set_database utf8
character_set_filesystem binary
character_set_results utf8
character_set_server latin1
character_set_system utf8
Reply
#23

It's a shame that I'm in hospital and can't look into this properly for you. I will once I'm out but I understand if you can't wait and choose to go with the other script. I found it interesting how it was mentioned earlier in the thread that htmLawed could be the problem. This is a possibility I suppose. If you want to test this for yourself you would need to open comments/includes/app/processor.php, search for the word "purify", and remove that line of code.

Have you completed the interview?
Reply
#24

i removed the line with purify in it in the processor.php. but it don´t works. ok i´m sorry that you are in hospital. so my site goes online on the 27.oct.2011. maybe we can solve the problem until this date?! we will see.
Reply
#25

I'm glad to give you the solution. I think it'll be radical in most cases.
Go to comments/includes/functions/page.php and change line 202:
$entry = htmlentities($entry, ENT_NOQUOTES, 'UTF-8'); ---> $entry = htmlentities($entry, ENT_NOQUOTES, 'YOUR-LANGUAGE-CODE');
That's all!
Thank you very much to everyone for your help.
Reply
#26

Super, thats solve the problem! You are a genius !
thanks very much!!!!
Reply
#27

Thank you ichole, but this time my secret (not usual for me) was only patience.
Enjoy!
Reply
#28

Hi!

I have tested franco66 solution but it don't work for me Sad

I can't change the charset in the head of my page because if i do so (iso-8859-1 -> UTF-8), commentics works well but the other part of my page has characters problems, and the W3C validator can't read my page.

Any idea? Sad

This scripts is perfect for me, many thanks to his author. There is just this problem that makes me sad (Undecided )
Reply
#29

Hi,

What character problems are you having with the other part of your page?

Have you completed the interview?
Reply
#30

Well, I tried the solution of post #17 and it works!
I have re-encoded the pages (utf-8 -> iso-8859-1) and it's ok.
Now I'll configure everything and I'll see if there is others problems with caracters.
My question was useless, sorry!
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: 6 Guest(s)