From fe126e1a232bc9ffe8eef9ef5233975ab36704d0 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 8 Dec 2010 12:59:05 +1300 Subject: [PATCH] BUGFIX Using UTF-8 compatible string parsing in CMSMain and MemberTableField for htmlentities() and htmlspecialchars() invocations --- code/MemberTableField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/MemberTableField.php b/code/MemberTableField.php index ecbf9227..806d18da 100755 --- a/code/MemberTableField.php +++ b/code/MemberTableField.php @@ -380,7 +380,7 @@ class MemberTableField extends ComplexTableField { $message = sprintf( _t('ComplexTableField.SUCCESSADD', 'Added %s %s %s'), $childData->singular_name(), - '' . htmlspecialchars($childData->Title, ENT_QUOTES) . '', + '' . htmlspecialchars($childData->Title, ENT_QUOTES, 'UTF-8') . '', $closeLink ); $form->sessionMessage($message, 'good');