|
Posted by Georg Weiler on 11/30/07 20:10
Thanks lamib, it works.
But isn't there a ready-to-use built-in function in PHP that does this
trick?
lamib schrieb:
> Georg Weiler wrote:
>
>> Hi,
>>
>> I have a database PostgreSQL entry that includes the string €
>> which is the euro sign.
>>
>> When I retrieve the string through a PHP SQL statement and then echo
>> the result to the browser, it shows the correct euro sign, but in the
>> source code, it still says € ...
>>
>> This is a problem to me, because I generate a PDF, and in this it
>> still says € instead of the euro sign. I have the same behaviour
>> with signs like '-' and '+'
>>
>> Any help is very appreciated.
>>
>> Thanks,georg.
>
>
> You have to simply replace the HTML symbols with the real characters
> before generating the PDF with str_replace.
>
> --
> www.lamib.info
Navigation:
[Reply to this message]
|