|
Posted by Jim Michaels on 11/17/84 11:39
"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]
|