Open
Description
Describe the bug
I read a normal DWG file and then converted it into a DXF file, but the Chinese content is displayed abnormally.
To Reproduce
My Code:
var filePath = @"D:\cad2.dwg";
var dxfFilePath = @"D:\cadfile2.dxf";
var cadDocument = DwgReader.Read(filePath);
cadDocument.Header.CodePage = "GB2312";
using var writer = new DxfWriter(dxfFilePath, cadDocument, false);
writer.Write();
Screenshots
normal:
abnormal:
Release needed
- [ Y ] Yes, using the Nuget package.
- No, using the github repo.