diff --git a/include/xslfo2pdf/fo_layout.php b/include/xslfo2pdf/fo_layout.php index dec4ee34b..e0473f033 100644 --- a/include/xslfo2pdf/fo_layout.php +++ b/include/xslfo2pdf/fo_layout.php @@ -68,19 +68,20 @@ class FO_LayoutObject extends FO_FlowContainer { //oesi - convertiert die daten von utf8 nach latin1 und ersetzt 'EURO' durch das eurosymbol function convert($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); + $str = utf8_decode($str); //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); - + $str = str_replace('EURO',chr(128),$str); - return utf8_decode($str); + return $str; } //Spaltenhoehe Berechnen diff --git a/system/xsl/lehrauftrag_0_v3.xsl b/system/xsl/lehrauftrag_0_v3.xsl index 2ae291e9d..4c7885316 100644 --- a/system/xsl/lehrauftrag_0_v3.xsl +++ b/system/xsl/lehrauftrag_0_v3.xsl @@ -190,7 +190,16 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> - + + + + ... + + + + + +