XML and Metacharacters - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: XML and Metacharacters (/showthread.php?tid=87305) XML and Metacharacters by ArkaneArkade on 11-17-2008 at 05:19 AM
Hey guys, RE: XML and Metacharacters by SmokingCookie on 11-17-2008 at 02:00 PM
You mean you're getting the XML file using Xniff? RE: RE: XML and Metacharacters by ArkaneArkade on 11-17-2008 at 05:16 PM
quote: God no! Believe me, I'm using Xniff too much as it is. It's my X360+ script - because Plus! can't actually detect when the XBOX Messenger changes PSM, Xniff listens for that, and gets the info through that. It's the XBOX which sends the metacharacters, and so Xniff reads it raw. The XMLHTTP is what I'm using to get the file, but if any of the metacharacters in it cause an "object required" error. RE: XML and Metacharacters by SmokingCookie on 11-18-2008 at 05:26 PM
Have you saved the XML as Unicode (aka UTF-16)? If not, don't forget to alter the processing instruction: code: It may help.. RE: XML and Metacharacters by Matti on 11-18-2008 at 05:36 PM
quote:It's even better to use UTF-16, as it's the official encoding declaration for this type of Unicode as stated here: quote:And we can better give script developers the most correct way to do it. RE: XML and Metacharacters by ArkaneArkade on 11-18-2008 at 11:52 PM
Cheers guys. The encoding was indeed what the problem was. I'd skipped adding the encoding into the xml previously because it was screwing things up, but I guess I'd had it wrong. |