[Phpmyadmin-devel] PDF output in utf-8
Marc Delisle
DelislMa at CollegeSherbrooke.qc.ca
Thu Dec 30 11:33:01 CET 2004
Michal Čihař a écrit :
> On Thu 30. 12. 2004 16:48, Michal Čihař wrote:
>
>>On Thu 30. 12. 2004 16:39, Michal Čihař wrote:
>>
>>>Hi
>>>
>>>On Thu 30. 12. 2004 16:27, Marc Delisle wrote:
>>>
>>>>I tried it, running in Czech UTF-8. I get those errors:
>>>>
>>>>Notice: Uninitialized string offset: 7 in
>>>>/var/www/html/phpMyAdmin-HEAD/libraries/fpdf/ufpdf.php on line 422
>>>
>>>Didn't you have iso-8859-1 texts somewhere in description or table name?
>>
>>Hmm, I can reproduce it on one server (php 4.3.10), but not on the one
>>where I tested it (4.3.8)... Will look at that.
>
>
> Should be okay now (as well as include path).
>
Warnings are gone, thanks!
I see one remaining problem: on the left side there are PDF bookmarks containing
the table names, field names and $strRelationalSchema. Those are set by the
Bookmark() function in pdf_schema.php, for example:
$pdf->Bookmark($GLOBALS['strRelationalSchema']);
Special characters (like é) do not appear correctly (in UTF-8) in the left side
bookmarks.
Can you reproduce this problem?
Marc
More information about the Developers
mailing list