Skip to content

Commit 4069ace

Browse files
committed
Return SQL-results as UTF8 encoded data
1 parent 1e9085a commit 4069ace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function handle($match, $state, $pos, Doku_Handler $handler){
121121
*/
122122
public function render($mode, Doku_Renderer $renderer, $data) {
123123
if($mode != 'xhtml') return false;
124-
$renderer->doc .= $this->_query($data);
124+
$renderer->doc .= utf8_encode($this->_query($data));
125125
return true;
126126
}
127127

0 commit comments

Comments
 (0)