-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Garbled code read dwg #76
Comments
I can't open your zip file. My systems says it's corrupted. |
sorry Actually, his format is rar. You can use WinRAR to open it. In the Windows environment, I thought you needed to test the AutoCAD conversion file in the Windows environment. |
You can use AutoCAD to open and convert to dxf (v2007) and above versions.AutoCAD can open converted dxf files. but After converting through the program, you will find that AutoCAD cannot open the converted dxf file. I think the problem lies in the coding |
Here are the DWG and DXF from AutoCAD 2022 in ZIP format. |
您说的这些 都是我知道的 我知道autocad 可以正常打开测试的文件以及导出。但如何通过libdxfrw 程序做到这一点?我通过另外一个开源项目cad2x封装了libdxfrw 也可以正常导出dxf 但导出的dxf 文件 用autocad 打不开,里面关于文字是乱码 ,可以根据第三方软件去打开 |
It appears to be related to this other open issue: #17 |
I know the encoding of this dwg file is in GBK or gb2312 ,But I cannot export dxf (v2007) correctly using the program, and I cannot even export any version correctly. It is interesting that using AutoCAD can correctly export UTF-8 format dxf without garbled text.
Please help me!In fact, aspose.cad provides a Java/. net version for exporting dxf files, but its format can only be exported as dxf-R12 version. I want dxf-v2007 version or higher to support gbk (Chinese).
It is very interesting that the converted dxf file cannot be opened by AutoCAD software, but can be opened by third-party software as follows. I guess when reading in, I should use GBK to read dwg and write in dxf (v2007), I should use UTF-8 to write in, so he needs a conversion, but I don't know how to modify it
The Test File
a-43.zip
The text was updated successfully, but these errors were encountered: