Here is a an encoding error that I get when reading a .mpp file:
java.lang.IllegalArgumentException: Unsupported encoding command ansicpg1257
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)
Thank you,
Tiberiu
Probably as in ticket https://sourceforge.net/p/mpxj/bugs/285/ in class com.rtfparserkit.parser.standard.Encoding it needs to also be added this locale ID mapping for Estonian language:
LOCALEID_MAPPING.put("1257", "Cp1257");
Please ignore the report as it seems the problem is solved in the latest version of RTFParserKit.