You are here: Re: UTF8: file_put_contents doesn't seem to write UTF8 content properly « PHP Programming Language « IT news, forums, messages
Re: UTF8: file_put_contents doesn't seem to write UTF8 content properly

Posted by C. on 06/13/07 21:47

On 13 Jun, 21:25, "amygdala" <nore...@noreply.com> wrote:
>
> The way I test to see if the content is UTF8, is by opening the XML file in
> notepad and choose 'save as...'. Normally the coding option should be set to
> UTF8, but now it just shows ANSI.
>

ROFL.

Try inserting a BOM in front of the content.

C.

 

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

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