Anonymous | Login | Signup for a new account | 12-17-2024 08:43 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001860 | [Quercus] | minor | always | 07-09-07 19:03 | 07-20-07 16:42 | ||||
Reporter | toomasr | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.2 | ||||||
Summary | 0001860: imagepng() - illegal utf8 encoding | ||||||||
Description |
Using Quercus as JSR223 scriptengine the version is SVN trunk. Stacktrace attached. PHP code is sample from http://ee2.php.net/manual/en/function.imagecreate.php [^] ----------------- PHP ----------------- $im = @imagecreate(110, 20) or die("Cannot Initialize new GD image stream"); $background_color = imagecolorallocate($im, 0, 0, 0); $text_color = imagecolorallocate($im, 233, 14, 91); imagestring($im, 1, 5, 5, "A Simple Text String", $text_color); imagepng($im); imagedestroy($im); --------------- EOF PHP --------------- Produces an java.io.CharConversionException: illegal utf8 encoding from com.caucho.vfs.ReaderWriterStream.write. It seems the bytes in the image are checked for being UTF8 characters which fails. |
||||||||
Additional Information | |||||||||
Attached Files | stacktrace.txt [^] (4,783 bytes) 07-09-07 19:03 | ||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 26 unique queries executed. |