Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 ical4j 解析 Outlook 日历文件。当我解析文件时,它给出的异常如下
Error at line 60:Illegal character in opaque part at index 4: CID:<FFFF__=0ABBFDFEDFCB93A98f9e8a9@medicraft.com.au>
如何在不更改日历文件的情况下解决此问题。
如果启用 NOTES_COMPATIBILITY CompatibilityHint,这个异常应该会消失。您可以通过编程方式执行此操作:
CompatibilityHints.setHintEnabled(CompatibilityHints.KEY_NOTES_COMPATIBILITY, true);
或通过添加到类路径的 ical.properties 中的以下行:
ical4j.compatibility.notes=true
有关详细信息,请参阅 ical4j wiki:
http://wiki.modularity.net.au/ical4j/index.php?title=兼容性