diff --git a/content/vendor/form-comments/commentsubmit.php b/content/vendor/form-comments/commentsubmit.php index af3fe6e..8c81149 100644 --- a/content/vendor/form-comments/commentsubmit.php +++ b/content/vendor/form-comments/commentsubmit.php @@ -30,7 +30,7 @@ if(empty($_POST['name']) || $DATE_FORMAT = "Y-m-d H:i:s"; $publish = date($DATE_FORMAT); - $name = strip_tags(utf8_decode(htmlspecialchars($_POST['name']))); + $name = strip_tags(utf8_decode(utf8_encode($_POST['name'])); $link = strip_tags(htmlspecialchars($_POST['link'])); $email_address = strip_tags(htmlspecialchars($_POST['email'])); $comment = utf8_decode($_POST['comment']);