|
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Author |
Message |
standus
Regular pChart user
Joined: Thu Feb 24, 2011 12:50 pm Posts: 12
|
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 [ 5.95 KiB | Viewed 8965 times ]
accents.JPG [ 6.08 KiB | Viewed 8967 times ]
|
Thu Feb 24, 2011 1:08 pm |
|
|
standus
Regular pChart user
Joined: Thu Feb 24, 2011 12:50 pm Posts: 12
|
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 |
|
|
david.b
pChart user
Joined: Mon Feb 28, 2011 1:51 am Posts: 6
|
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 |
|
|
|
Page 1 of 1
|
[ 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
|
|
|
|