|
Posted by Alvaro G. Vicario on 06/21/06 22:53
*** lazypig06@gmail.com escribió/wrote (21 Jun 2006 15:40:00 -0700):
> I did some research on the web and it turned out the junks that I have
> in the xml file are Greek's characters (The junks are "1ffc", "fa1",
> and some numbers including number 0 at the end of xml file. These junks
> prevent the xml to be parsed correctly.
>
> Does anybody have any idea to to get rid of these junk/ convert these
> characters to empty string/characters ?
This reminds me of raw responses when using the "chunked" transfer
encoding. Check user notes in fsockopen() and fpassthru() manual pages.
Also, if you're downloading the file from your script, I'd suggest you try
Curl functions and see if garbage goes away.
--
-+ Álvaro G. Vicario - Burgos, Spain
++ http://bits.demogracia.com es mi sitio para programadores web
+- http://www.demogracia.com es mi web de humor libre de cloro
--
Navigation:
[Reply to this message]
|