Messy code in Cad layerName

Hi:
There are messy codes in layerName of converted dmg sometimes. I guess those dmgs are not made with utf-8, maybe gbk or iso8859-1. How can I treat those non-utf-8 dmgs in JAVA version?Thanks!

for (CadBaseEntity entity : cadImage.getEntities()) {
String layerName = entity.getLayerName(); //layerName is messy code
CadBaseEntity mapEntity = readCADEntity(mapLayers.get(layerName), entity, scaleRate);
if(mapEntity!=null){
entityList.add(mapEntity);
}
}

Snip20180116_2.png (37.0 KB)
Snip20180116_1.png (272.5 KB)

@zhonghong,

I have observed the comparison images shared by you and request you to please provide the source file with such entity names so that we may verify that on our end to help you further.

Could you show me your email? Dmg is 6MB, is too big to upload. Thanks.

@zhonghong,

You can upload the information in some FTP server or Dropbox and share the download link with us. We will investigate the issue further on our end on provision of requested information.