Hello, I was wondering if some one could take a look at the two
example server outputs below, and help me understand what is wrong.
I'm getting garbled characters.
The php script I'm developing delivers XML to a client side
application I'm also putting together in VB.NET .. Example 1 is my
development PC.. It has a recent build of PDP & Apache. This output is
good.
Example 2 is the production server and is adding all sorts of strange
characters, that are causing the XML to be invalid.
I'm thinking it has somthing to do with the lack of charset in Ex2..
perhaps. If that is the case can I specify it in the .htaccess file
because I dont have direct control over the production server. Has any
one seen this before?
Thanks
DaveC
******** EXAMPLE 1 *************
HTTP/1.1 200 OK
Date: Mon, 22 Nov 2004 10:34:20 GMT
Server: Apache/2.0.52 (Win32)
X-Powered-By: PHP/5.0.2
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1
fcc
o;?<app><name>e ek</name><author>Me </author><version >0.1</version><contac t>me@.com</contact></app><link
....
******** EXAMPLE 2 *************
HTTP/1.1 200 OK
Date: Sun, 21 Nov 2004 13:48:28 GMT
Server: Apache
X-Powered-By: PHP/4.3.4
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html
8d
o;?<app><name>e ek</name><author>Me </author><version >0.1</version><contac t>Me@.com</contact></app>
2e
<link src="example" rank="1" type="se">
1f
<url>http://www.petz.com/</url>
1b
<title>Petz Central</title>
c5
example server outputs below, and help me understand what is wrong.
I'm getting garbled characters.
The php script I'm developing delivers XML to a client side
application I'm also putting together in VB.NET .. Example 1 is my
development PC.. It has a recent build of PDP & Apache. This output is
good.
Example 2 is the production server and is adding all sorts of strange
characters, that are causing the XML to be invalid.
I'm thinking it has somthing to do with the lack of charset in Ex2..
perhaps. If that is the case can I specify it in the .htaccess file
because I dont have direct control over the production server. Has any
one seen this before?
Thanks
DaveC
******** EXAMPLE 1 *************
HTTP/1.1 200 OK
Date: Mon, 22 Nov 2004 10:34:20 GMT
Server: Apache/2.0.52 (Win32)
X-Powered-By: PHP/5.0.2
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1
fcc
o;?<app><name>e ek</name><author>Me </author><version >0.1</version><contac t>me@.com</contact></app><link
....
******** EXAMPLE 2 *************
HTTP/1.1 200 OK
Date: Sun, 21 Nov 2004 13:48:28 GMT
Server: Apache
X-Powered-By: PHP/4.3.4
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html
8d
o;?<app><name>e ek</name><author>Me </author><version >0.1</version><contac t>Me@.com</contact></app>
2e
<link src="example" rank="1" type="se">
1f
<url>http://www.petz.com/</url>
1b
<title>Petz Central</title>
c5
Comment