Free Support Forum - aspose.com

CharsetProvider not found

Hello aspose team,

I have a problem of encoding while working with com.aspose.words-10.1.0 jar.

It appears that words-10.1.0.jar contains META-INF/services/java.nio.charset.spi.CharsetProvider that declares the class com.aspose.ms.java.utf7charset.provider.CharsetProvider as provider. That class, however, does not exist.


I recieves an error:

WARN (ContentDetection) - Error occured in content detection process. File may
not be supported for a given rule files.
sun.misc.ServiceConfigurationError: java.nio.charset.spi.CharsetProvider: Provid
er com.aspose.ms.java.utf7charset.provider.CharsetProvider not found
at sun.misc.Service.fail(Service.java:129)
at sun.misc.Service.access$000(Service.java:111)
at sun.misc.Service$LazyIterator.next(Service.java:273)
at java.nio.charset.Charset$1.getNext(Charset.java:319)
at java.nio.charset.Charset$1.hasNext(Charset.java:332)
at java.nio.charset.Charset$4.run(Charset.java:551)
at java.security.AccessController.doPrivileged(Native Method)
at java.nio.charset.Charset.availableCharsets(Charset.java:546)

Can you tell me where is the class com.aspose.ms.java.utf7charset.provider.CharsetProvider?

Thanks
Branko

Hi

Thanks for your request. This problem was fixed in the latest release. You can download it from here:

http://www.aspose.com/community/files/72/java-components/aspose.words-for-java/category1378.aspx

Best regards,