Free Support Forum - aspose.com

RegisterDictionary throws exception

Hi,

i’m using the current dictionary hyph_de_DE.dic from apache open office (see attachment). Any attempt to load the dictionary throws an exception.

System.ArgumentException: Dictionary has an invalid format. bei …ctor(String[] [1], Encoding)

bei Aspose.Words.Hyphenation.[1]( [1], Stream)

bei de.egov.AsposeDcs.Wrapper.WordDocumentWrapper.RegisterHyphenationDict(String language)


Aspose.Words.dll 16.4.0.0
internal bugid#8492


Best regards, Martin Pfeifer


Remarks:
  • Older versions of hyph_de_DE.dic show no problems.
  • The dictionary is embeded as an resource file and loaded via stream

Hi Caroline,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-13763. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-13763) have been fixed in this Aspose.Words for .NET 17.1.0 update and this Aspose.Words for Java 17.1.0 update.


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