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>$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]
|