View unanswered posts | View active topics It is currently Sat Apr 27, 2024 9:42 pm



Reply to topic  [ 3 posts ] 
Problem with accents 
Author Message
Regular pChart user
Regular pChart user

Joined: Thu Feb 24, 2011 12:50 pm
Posts: 12
Post Problem with accents
Version of my PHP is 5.3.1, using own localized font with accents, pChar 2.1.

I used this function:
$myPicture->drawText(335,16,"Návštěvnost",$TextSettings);

with errors:
Warning: imagettfbbox() [function.imagettfbbox]: any2eucjp(): something happen in pImage.class.php on line 184
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in pDraw.class.php on line 972
Warning: imagettftext() [function.imagettftext]: any2eucjp(): something happen in pDraw.class.php on line 976

when I change imagettf.... in sources with prefix @ then problematic characters and broken. See picture.

What is the solution?

Previosly I used v1.27 with PHP 5.2.x without problems.


Attachments:
accents_next.JPG
accents_next.JPG [ 5.95 KiB | Viewed 7478 times ]
accents.JPG
accents.JPG [ 6.08 KiB | Viewed 7480 times ]
Thu Feb 24, 2011 1:08 pm
Profile
Regular pChart user
Regular pChart user

Joined: Thu Feb 24, 2011 12:50 pm
Posts: 12
Post Re: Problem with accents
It is resolved. I used UTF-8 as default charset in php.ini and upgrade new version of PHP to >5.3.1


Sat Feb 26, 2011 6:43 pm
Profile
pChart user
pChart user

Joined: Mon Feb 28, 2011 1:51 am
Posts: 6
Post Re: Problem with accents
I had the same problem using xampp but no problem with wamp with the same version of php.
So I use php_gd2.dll of wamp on xampp


Thu Mar 17, 2011 11:29 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron