You are here: Re: Http_output « All PHP « IT news, forums, messages
Re: Http_output

Posted by Taras_96 on 01/25/07 10:06

Excellent it's all clear now

> I admit that my original message wasn't that clear - 'if your PHP
> source is stored' should have read something like 'if the output from
> your PHP function is UTF-8'. So, back to my original question, if all
> of PHP output was UTF-8, could I use mb_http_output and output
> buffering to deliver this to the browser as UCS-2 by the following:
>
> mb_internal_encoding("UTF-8");
> mb_http_output("UCS-2");
> ob_start("mb_output_handler");
>
> === yes, you should be able to do that. what does you callback do?
>

do you mean mb_output_handler? "mb_output_handler() converts characters
in output buffer from internal character encoding to HTTP output
character encoding."

Taras

 

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

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