first commit

This commit is contained in:
aschwarz
2023-02-27 11:44:33 +01:00
commit 7055693182
2401 changed files with 450050 additions and 0 deletions

22
prints3/as_utf_class.php Executable file
View File

@ -0,0 +1,22 @@
<?php
require_once('fpdi.php');
# teilweise wird chr(149) in den Briefköpfen verwendet. Dieses durch uchr ersetzen
function uchr ($u) {
return mb_convert_encoding('&#' . intval($u) . ';', 'UTF-8', 'HTML-ENTITIES');
}
class utfFPDF extends FPDI
{
function Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=false, $link='')
{
if ($txt != ''){
$txt = utf8_decode($txt);
}
parent::Cell($w, $h, $txt, $border, $ln, $align, $fill, $link);
}
}
if (!class_exists('FPDF_TPL')) {
require_once('fpdf_tpl.php');
}
?>