如何在FPDF中添加版权符号?

rah*_*n18 4 php fpdf

我想在生成的 PDF 中添加一个带有版权符号的单元格。但是添加单元格输出会在开头显示一些不需要的符号。需要一个解决方案。

\n\n
function Footer {\n$this->SetTextColor(96,96,96);\n$this->SetFont('Times','B',12);\n$this->Cell(0,5,'abc Limited',0,2,'C',0);\n$this->Cell(50,5,'',0,2,'C',0);\n$this->Cell(0,5,'this is address',0,2,'C',0);\n$this->Cell(188,5,'','B',1,'c',0);  \n$this->Cell(50,5,'',0,2,'C',0); \n$this->Cell(0,5,  '\xc2\xa9All rights reserved abc Ltd',0,1,'C',0);\n}\n
Run Code Online (Sandbox Code Playgroud)\n

xte*_*ore 7

我尝试了“©”建议,但它显示的只是字面上的“©”,所以我尝试了其他一些选项。只需简单的 chr 就可以很好地工作......

$this->Cell(0, 5, chr(169) . ' All rights reserved, etc', 0, 1, 'C', 0);
Run Code Online (Sandbox Code Playgroud)