Anonymous | Login | Signup for a new account | 12-17-2024 10:59 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ 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 | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.1.3 | Product Version | 3.1.2 | ||||
Product Build | |||||||||
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. |
||||||||
Steps To Reproduce | |||||||||
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. |