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 10/13/62 11:39

Could you give me the play-by-play as to your environment and how you
were able to retrieve it?

Phil

Jim Michaels wrote:
> "comp.lang.php" <phillip.s.powell@gmail.com> wrote in message
> news:1137560825.917957.187530@g49g2000cwa.googlegroups.com...
> > 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?
> >>
>
> I tried your code on ASCII-coded XML and it worked. I got wonderful data
> from print_r() from both arrays.
>
> >> 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

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