Hi there,
We’re having troubles where Aspose fails to initialise, depending on the locale data that we initialise with.
For example, the following example in Java:
License slidesLicence = new License();
slidesLicence.setLicense(new ByteArrayInputStream(LICENCE_DATA.getBytes(StandardCharsets.UTF_8)));
Locale.setDefault(new Locale("en", "KR"));
String[] fontDirs = {};
FontsLoader.loadExternalFonts(fontDirs);
throws this exception
Culture Name: en-KR is not a supported culture
We’re seeing this in the following products:
- aspose_email: [‘com.aspose:aspose-email:18.3:jdk16’],
- aspose_pdf: [‘com.aspose:aspose-pdf:18.3’],
- aspose_slides: [‘com.aspose:aspose-slides:18.2:jdk16’],
- aspose_words: [‘com.aspose:aspose-words:18.3:jdk16’],
There’s a similar thread that mentions this was fixed, but it doesn’t appear to be the case, based on our testing: Culture Name: en-RS is not a supported culture (MAC Java) (1496)