-
-
Save cmb69/0355b94c13631b7b1a64df21388039d5 to your computer and use it in GitHub Desktop.
PHP bug #34670
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$im = imagecreatetruecolor(50, 30); | |
imagefilledrectangle($im, 0, 0, 49, 29, 0xffffff); | |
imagettftext($im, 24, 0, 25, 25, 0x000000, "Arial", "ä"); | |
imagepng($im, __DIR__ . "/34670exp.png"); | |
$im = imagecreatetruecolor(50, 30); | |
imagefilledrectangle($im, 0, 0, 49, 29, 0xffffff); | |
imagettftext($im, 24, 0, 25, 25, 0x000000, "Arial", "a\xCC\x88"); | |
imagepng($im, __DIR__ . "/34670act.png"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected:
Actual: