You are here: Re: Problem with euro sign (and others) « PHP Programming Language « IT news, forums, messages
Re: Problem with euro sign (and others)

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация