Forum > Packages and Libraries

Tfpdxfbridge write to dxf and codepage.

Hi Guys!
I need to use in my project saving to dxf file.
I don't have any knoledge about dxf format, so I'm testing demo
I found problem with polish diacritic marks.
The text inside dxf file seems to be ok but opening with Autocad I see just question marks instead.
I think have I problem with a code page? And how to solve it?
Demo unit attached.

Thank you for help.

As far as I understand, the version of the saved dxf file is not specified, so it is saved in old DOS dxf12 format.
dxf12 doesn't know anything about utf8, you have to recode all saved strings to ansi codepage
I did this and it works:

procedure TFPDxfWriteBridge.SaveToFile(path: string);


[0] Message Index

Go to full version