Non-english character sets exported incorrectly in DWG/DXF/DGN drawings

Tekla Structures Chinese font DWG Russian
Not version-specific
Tekla Structures
Environment
Not environment-specific

Question: 
I'm exporting a drawing with Chinese characters to DWG, but the Chinese characters are not displayed correctly.

 

 

Image
chinese_fonts.png

 


Answer: 

To show different character sets properly also in exported drawings, set the advanced option XS_EXPORT_CODEPAGE to the desired value. This overrides the automatic selection of the codepage in the DWG export. The supported code pages are listed below.

For further information, see Microsoft's support article on Language Identifiers and Locales. These instructions apply to other non-English character sets too, for example, Korean, Japanese, and Cyrillic characters.

To change the code page in Tekla Structures go to  File > Settings > Advanced Options > Export and set XS_EXPORT_CODEPAGE to the desired code page, using one of the following values:

  • ascii

  • iso8859-1

  • iso8859-2

  • iso8859-3

  • iso8859-4

  • iso8859-5

  • iso8859-6

  • iso8859-7

  • iso8859-8

  • iso8859-9

  • dos437

  • dos850

  • dos852

  • dos855

  • dos857

  • dos860

  • dos861

  • dos863

  • dos864

  • dos865

  • dos869

  • dos932

  • mac-roman

  • big5

  • ksc5601

  • johab

  • dos866

  • ansi_1250 — Latin (Central European languages)

  • ansi_1251 — Cyrillic (e.g. Russian)

  • ansi_1252 — Latin (Western European languages)

  • gb2312

  • ansi_1253 — Greek

  • ansi_1254 — Turkish

  • ansi_1255 — Hebrew

  • ansi_1256 — Arabic

  • ansi_1257 — Latin (Baltic languages)

  • ansi_874 — Thai

  • ansi_932 — Japanese

  • ansi_936  — Chinese (simplified) (PRC, Singapore)

  • ansi_949 — Korean

  • ansi_950   — Chinese (traditional) (Taiwan, Hong Kong)

  • ansi_1361

  • ansi_1200 — Unicode (BMP of ISO 10646, UTF-16LE)

  • ansi_1201 — Unicode (BMP of ISO 10646, UTF-16BE)
  • ansi_1258 — Vietnamese

  • 65000 — Unicode (BMP of ISO 10646, UTF-7)
  • 65001 — Unicode (BMP of ISO 10646, UTF-8)

 

NOTE: With the newer drawing DWG/DXF export, the character sets are shown properly in exported drawings, and the XS_EXPORT_CODEPAGE advanced option is not needed.



See also

Export a drawing in 2D DWG or DXF format (old export)

Export a drawing in 2D DWG, DXF, or DGN format
 

 

Was this helpful?