Free Support Forum - aspose.com

Possible error in Aspose.Words.jar

I have found that there is file META-INF/services/java.nio.charset.spi.CharsetProvider in aspose.words.jdkXX.jar
which contains string com.aspose.ms.java.utf7charset.provider.CharsetProvider

But there are no classes with such a name in any aspose’s jar file.

I suppose that is a reason why in some cases I get an error

Caused by: sun.misc.ServiceConfigurationError: java.nio.charset.spi.CharsetProvider: Provider com.aspose.ms.java.utf7charset.provider.CharsetProvider not found

Hello

Thanks for your request. Aspose.Words supports UTF7 encodings for reading/writing documents and this encoding is not natively supported by Java. Hence Aspose.Words implements its own charset and charset provider and it appears the class has somehow been left out or incorrectly linked into the final jar.

We will fix this issue asap. It will go into the scheduled 10.2 release at the end of June.

Best regards,

The issues you have found earlier (filed as WORDSJAVA-7) have been fixed in this .NET update and in this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(92)