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

Wrong encoding of comment quote in e-mails.
#1


'Hrvaški' should be printed as 'Hrvaški' in in-mail quote, see bolt marked text.

lp, stariocek

==================================

Pozdravljeni,

na stran Page One je bil dodan nov komentar, ki se nahaja na sledečem naslovu:
http://www.kakteja.com/ocene-komentarji.php

Komentar s spodaj navedeno vsebino je dodal stariocek :

************************

Spremenil se je URL za Hrvaški del strani - prej /cro/, sedaj /hr/ - kot Hrvatska.

************************

Komentar ne potrebuje potrditve.

Link do vaše nadzorne plošče:

http://www.kakteja.com/comments/...../

Lep pozdrav,
Reply
#2

Hi,

I have fixed it. In comments/includes/functions/page.php, line 358:

Find this:
PHP Code:
<?php 
$comment
= html_entity_decode($comment);

Replace with:
PHP Code:
<?php 
$comment
= html_entity_decode($comment, ENT_NOQUOTES, 'UTF-8');

You can make the same change in comments/admin/includes/functions/general.php, line 160.

Have you completed the interview?
Reply
#3

Thanks!

lp, stariocek

(24-Aug-2011, 12:05 PM)Steven Wrote:  Hi,

I have fixed it. In comments/includes/functions/page.php, line 358:

Find this:
PHP Code:
<?php 
$comment
= html_entity_decode($comment);

Replace with:
PHP Code:
<?php 
$comment
= html_entity_decode($comment, ENT_NOQUOTES, 'UTF-8');

You can make the same change in comments/admin/includes/functions/general.php, line 160.
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by nsuomine
02-Mar-2024, 05:00 PM
Last Post by Steven
19-Mar-2017, 01:52 PM
Last Post by Steven
07-Oct-2014, 07:53 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)