When grabbing data from www.tvgids.tv with WebGrab+Plus, the resulting XML file contains invalid characters (according to the XmlTv plugin). I looked in the logfile TVService-Error.log and found that the problem is caused by characters like the "ë" in program descriptions like "sport: GP van Tsjechië -Atletiek".
[2014-08-18 10:43:15,486] [Log ] [XmlTvImporter] [ERROR] - XML tv import error loading C:\ProgramData\ServerCare\WebGrab\tvguide.xml err:Ongeldig teken in de opgegeven codering. Regel 225, positie 119.
bij System.Xml.XmlTextReaderImpl.Throw(Exception e)
bij System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
bij System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
bij System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
bij System.Xml.XmlTextReaderImpl.ReadData()
bij System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
bij System.Xml.XmlTextReaderImpl.ParseText()
bij System.Xml.XmlTextReaderImpl.ParseElementContent()
bij System.Xml.XmlTextReaderImpl.Read()
bij System.Xml.XmlTextReader.Read()
bij System.Xml.XmlReader.SkipSubtree()
bij System.Xml.XmlReader.ReadToNextSibling(String name)
bij TvEngine.XMLTVImport.Import(String fileName, Boolean deleteBeforeImport, Boolean showProgress)
What would be the best way to avoid or correct this problem?
[2014-08-18 10:43:15,486] [Log ] [XmlTvImporter] [ERROR] - XML tv import error loading C:\ProgramData\ServerCare\WebGrab\tvguide.xml err:Ongeldig teken in de opgegeven codering. Regel 225, positie 119.
bij System.Xml.XmlTextReaderImpl.Throw(Exception e)
bij System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
bij System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
bij System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
bij System.Xml.XmlTextReaderImpl.ReadData()
bij System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
bij System.Xml.XmlTextReaderImpl.ParseText()
bij System.Xml.XmlTextReaderImpl.ParseElementContent()
bij System.Xml.XmlTextReaderImpl.Read()
bij System.Xml.XmlTextReader.Read()
bij System.Xml.XmlReader.SkipSubtree()
bij System.Xml.XmlReader.ReadToNextSibling(String name)
bij TvEngine.XMLTVImport.Import(String fileName, Boolean deleteBeforeImport, Boolean showProgress)
What would be the best way to avoid or correct this problem?