pChart 2.x forum http://wiki.pchart.net/forum/ |
|
Problem with accents http://wiki.pchart.net/forum/viewtopic.php?f=5&t=284 |
Page 1 of 1 |
Author: | standus [ Thu Feb 24, 2011 1:08 pm ] | |||
Post subject: | 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.
|
Author: | standus [ Sat Feb 26, 2011 6:43 pm ] |
Post subject: | 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 |
Author: | david.b [ Thu Mar 17, 2011 11:29 am ] |
Post subject: | 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 |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |