Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-2170

how to set another drawing encoding

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Hi,
      can you move ENCODING = 'cp1252' to Drawing class?
      This let me change default drawing encoding and write text in my encoding:

      from dxfwrite import DXFEngine as dxf
      drawing = dxf.drawing('test.dxf'
      drawing.ENCODING='cp1251'
      drawing.add_layer('LINES'
      drawing.add(dxf.text(u'тест', (0,0,0), 5))
      drawing.save()

      P.S. See attachments for changes.
      Best regards,
      banza.
      banza@i.ua

      Attachments

        Activity

          People

            Unassigned Unassigned
            Anonymous Anonymous
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: