You are here: Re: Parse HTML ASCII « All PHP « IT news, forums, messages
Re: Parse HTML ASCII

Posted by Ruben van Engelenburg on 10/10/69 11:51

McHenry wrote:

> Output displayed in the browser ? Maybe the browser is converting the ASCII
> however it is still being fed the raw codes by PHP
>
> If you output the function to a txt file you'll find it's still the raw
> codes...

What exactly do you mean by "raw codes"? And also what tool are you
using to view the stored file?

I'd try storing the output utf-8 encoded, either by using something like:

utf8_encode(html_entity_decode('<h3>&#36;249,000</h3>'));

or just use the third parameter to html_entity_decode being the output
encoding.

Then store that to a text file and open it in a unicode aware editor.

HTH.
Ruben.
--
http://www.phpforums.nl

 

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

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