We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Exception: MS949 Encoding exception on converting DWF to PDF (Java)

tomcat 7.0

com.aspose.cad.cadexeptions.ImageLoadExeption: unable toread Dwf content : ‘MS949’ is not supported encoding

dxf to pdf : success
dwg topdf : success


I have observed the issue shared by you and request you to please share the source file reproducing the issue along with used sample code. Please also share the Operating System details on your end too.

Test OS = Windows 10Pro Korean, CentosOs linux release 7.5.1804

Sample Dwf

DownloadZip in


String asposeName= StringUtil.getRandomString(); // UUID

   					CadImage image = (CadImage) Image.load(multipartFile.getInputStream());
   				  	PdfOptions pdfOptions = new PdfOptions();
					CadRasterizationOptions rasterizationOptions = new CadRasterizationOptions();
					rasterizationOptions.setLayouts(new String[] { "Model" });
	                rasterizationOptions.setNoScaling (false);
	            	for(Object style : image.getStyles())
	                    ((com.aspose.cad.fileformats.cad.cadtables.CadStyleTableObject)style).setPrimaryFontName("나눔 고딕"); // or tahoma
					ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
					BufferedOutputStream output = new BufferedOutputStream(byteOut);

   					if(fc.encryptByte(byteOut.toByteArray(), new File(filePath+asposeName))){
	   					rmap.put("FILE_PDF_SIZE", byteOut.size());
	   					rmap.put("FILE_REAL_NM_PDF", asposeName);



I have worked over the issue shared by you and an issue with ID CADJAVA-566 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

Good morning I’m the person who registered this issue.
I would like to know when the reflection of this issue will be addressed.
Once the issue is resolved, we will purchase and use it.
Please answer fast.


I have verified the issue status from our issue tracking system and like to share that it has been added recently in our issue tracking system. The issue is pending in issues queue at the moment and we request for your patience in this regard. We will share the good news with you as soon as the issue will be fixed.

The issues you have found earlier (filed as CADJAVA-566) have been fixed in this update.