You are here: Re: How do you read/write UTF-8-encoded XML scripts using PHP? « PHP Programming Language « IT news, forums, messages
Re: How do you read/write UTF-8-encoded XML scripts using PHP?

Posted by comp.lang.php on 09/26/25 11:37

No, the PHP file is saved as typical ASCII. I wasn't aware I had to
save that as UTF-8 as well.

Phil

R. Rajesh Jeba Anbiah wrote:
> comp.lang.php wrote:
> <snip>
> > [Quote]
> > 1. Using Windows XP Notepad, wrote script
> > 2. Saved as "stuff.xml" using UTF-8 encoding as I'm saving it
> > 3. Verified well-formed XML by opening in both Firefox and IE
> > [/Quote]
> >
> > Is there something missing or just not right here, or the worst-case
> > scenario: PHP can't read UTF-8-encoded XML in at least tree form?
>
> Didn't try... but, quick reply... Is your PHP file in UTF-8?
>
> --
> <?php echo 'Just another PHP saint'; ?>
> Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

 

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

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