From 220fc30dcd11beee18fb23d60456c901ab6b392d Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 25 Apr 2010 20:37:00 +0000 Subject: Added test. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6750 67b53d14-2c14-4ace-a08f-0dab2b34000c --- src/BBCodeParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/BBCodeParser.php') diff --git a/src/BBCodeParser.php b/src/BBCodeParser.php index eacff6a..1083f7e 100644 --- a/src/BBCodeParser.php +++ b/src/BBCodeParser.php @@ -9,7 +9,7 @@ class BBCodeParser { function parse($in, $uid) { # decode HTML entities before parsing - $in = html_entity_decode($in); + $in = html_entity_decode($in, 'UTF-8'); $text_stack = array(); $arg_stack = array(); -- cgit v1.2.3