Sonderzeichen ersetzt beim PDF Export damit keine ? angezeigt werden.

This commit is contained in:
Andreas Österreicher
2014-08-18 11:40:12 +00:00
parent ccdc77c66e
commit 486290fe04
+7
View File
@@ -71,7 +71,14 @@ class FO_LayoutObject extends FO_FlowContainer {
//echo str_replace('EURO',chr(128),utf8_decode($str));
$str = str_replace('EURO',chr(128),$str);
$str = str_replace('ĉ','c',$str);
$str = str_replace('Č','C',$str);
$str = str_replace('č','c',$str);
$str = str_replace('ć','c',$str);
$str = str_replace('Š','S',$str);
$str = str_replace('š','s',$str);
$str = str_replace('ň','n',$str);
$str = str_replace('ř','r',$str);
return utf8_decode($str);
}