Dear Sir or madame,
maybe you can help me. The OCR function does not work at my PC with Win 11pro using german language.
This is the error log:
2025-10-23 15:08:30.6396 21204 Error running OCR System.Xml.XmlException: Invalid character in the given encoding. Line 12, position 70.
at void System.Xml.XmlTextReaderImpl.Throw(Exception e) x 2
at void System.Xml.XmlTextReaderImpl.InvalidCharRecovery(ref int bytesCount, out int charsCount)
at int System.Xml.XmlTextReaderImpl.GetChars(int maxCharsCount)
at int System.Xml.XmlTextReaderImpl.ReadData()
at void System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(int curPos, char quoteChar, NodeData attr)
at void System.Xml.XmlTextReaderImpl.ParseAttributes()
at void System.Xml.XmlTextReaderImpl.ParseElement()
at bool System.Xml.XmlTextReaderImpl.ParseElementContent()
at void System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at XDocument System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options) x 2
at async Task<ocrresult> NAPS2.Ocr.TesseractOcrEngine.ProcessImage(ScanningContext scanningContext, string imagePath, OcrParams ocrParams, CancellationToken cancelToken)</ocrresult>
Best regards,
Johannes