pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: php4, php5 with gd problem (umlaut and special characters)



2007/10/22, netbsd-users%rmroppert.info@localhost 
<netbsd-users%rmroppert.info@localhost>:
> Hello,
>
> some weeks ago i posted the same problem with php4 and gd. I got good
> answers, but they did not resolve the problem.
> In the last days i had made also some test with php5 from
> pkgsrc-2007Q3.
>
> This is the problem:
> An customer wants to build images with text on it using special characters
> (german umlauts) and utf8 encoding.
> But there are always only squares für the spechial characters in the
> picture.

Use iconv() to convert first.
Read http://de3.php.net/manual/en/function.iconv.php

Cheers, Zafer.


>
> This happens in php4 with bundled gd and also in the newest php5 with
> bundled gd.
> The installation with pkgsrc only allows to use the bundled version of
> gd.
>
> So if i use the external Version of gd ( using with-gd=path) all the 
> characters are diplayed
> correct in the pictures.
>
> This seems only be an problem with netbsd and the phpversions in
> pkgsrc, because in Linux it works.
>
> Is there an solution or workaround?
> Both should work, the special characters and the commandline version.
>
> You find the phpinfo output of the testsystem under
> http://roterdiamant.de/php_test/phin.pdf
>
> I hope someone can help.
>
> Regards
> Reinhold
>
> --
> R.M. Roppert
>
>


Home | Main Index | Thread Index | Old Index