Free Support Forum - aspose.com

Formats supported by Aspose Jar

Hi Aspose Team,

Currently for our application i am using Aspose.Words.jdk14.jar (Attaching the same).

This jar is throwing following exception while uploading the document.

java.lang.IllegalStateException: java.nio.charset.UnsupportedCharsetException: UTF-7
at asposewobfuscated.dj.fB(Encoding.java:482)
at asposewobfuscated.dj.fx(Encoding.java:241)
at asposewobfuscated.dj.k(Encoding.java:460)
at com.aspose.words.ed.fn(FileFormatDetector.java:246)
at com.aspose.words.ed.d(FileFormatDetector.java:38)
at com.aspose.words.Document.b(Document.java:1245)
at com.aspose.words.Document.a(Document.java:1229)
at com.aspose.words.Document.(Document.java:248)
at com.aspose.words.Document.(Document.java:232)
at com.aspose.words.Document.(Document.java:227)

Can you let me know if the jar attached supports UTF-7 character format or there is some other issue.
As this is a production issue let me know ASAP.

Regards,
Manish Gu[ta

Hi Manish,


Thanks for your inquiry. You’re using a very old version of Aspose.Words i.e. 3.2.1.0. I would suggest you please upgrade to the latest version of Aspose.Words for Java (11.9.0). You can download it from the following link:
http://www.aspose.com/community/files/72/java-components/aspose.words-for-java/default.aspx

Please also read the articles mentioned in the following link on migrating to latest versions:
http://www.aspose.com/docs/display/wordsjava/Migrating+from+Earlier+Versions+of+Aspose.Words

Moreover, the latest version of Aspose.Words supports various encodings including UTF8, UTF7, Unicode etc.

Please let me know if I can be of any further assistance.

Best Regards,