summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/BBCodeParser.php2
1 files changed, 1 insertions, 1 deletions
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();