不支持的编码命令 ansicpg949

Unsupported encoding command ansicpg949

使用 mpxj~, .mpp 文件上传。

net.sf.mpxj.mpp.MPPReader called -> read(InputStream is)

错误代码:

ProjectReader reader = new MPPReader ();
ProjectFile project;

try {
project = reader.read(uploadFile.getInputStream());

错误文件: rtfparserkit

mpxj 问题单: http://sourceforge.net/p/mpxj/bugs/289/

求助~

java.lang.IllegalArgumentException: Unsupported encoding command ansicpg949
at com.rtfparserkit.parser.standard.StandardRtfParser.processEncoding(StandardRtfParser.java:349)
at com.rtfparserkit.parser.standard.StandardRtfParser.processCommand(StandardRtfParser.java:150)
at com.rtfparserkit.parser.raw.RawRtfParser.handleCommand(RawRtfParser.java:278)
at com.rtfparserkit.parser.raw.RawRtfParser.handleCommand(RawRtfParser.java:241)
at com.rtfparserkit.parser.raw.RawRtfParser.parse(RawRtfParser.java:87)
at com.rtfparserkit.parser.standard.StandardRtfParser.parse(StandardRtfParser.java:50)
at com.rtfparserkit.converter.text.AbstractTextConverter.convert(AbstractTextConverter.java:41)
at com.rtfparserkit.converter.text.StringTextConverter.convert(StringTextConverter.java:34)
at net.sf.mpxj.common.RtfHelper.strip(RtfHelper.java:61)
at net.sf.mpxj.mpp.MPP14Reader.processTaskData(MPP14Reader.java:1513)
at net.sf.mpxj.mpp.MPP14Reader.process(MPP14Reader.java:102)
at net.sf.mpxj.mpp.MPPReader.read(MPPReader.java:136)
at net.sf.mpxj.mpp.MPPReader.read(MPPReader.java:79)

此问题将在下一版本的 MPXJ(5.1.19 或更高版本)中修复