Non-english character sets exported incorrectly in DWG/DXF/DGN drawings
Question:
I'm exporting a drawing with Chinese characters to DWG, but the Chinese characters are not displayed correctly.
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:
asciiiso8859-1iso8859-2iso8859-3iso8859-4iso8859-5iso8859-6iso8859-7iso8859-8iso8859-9dos437dos850dos852dos855dos857dos860dos861dos863dos864dos865dos869dos932mac-romanbig5ksc5601johabdos866ansi_1250— Latin (Central European languages)ansi_1251— Cyrillic (e.g. Russian)ansi_1252— Latin (Western European languages)gb2312ansi_1253— Greekansi_1254— Turkishansi_1255— Hebrewansi_1256— Arabicansi_1257— Latin (Baltic languages)ansi_874—Thaiansi_932—Japaneseansi_936— Chinese (simplified) (PRC, Singapore)ansi_949— Koreanansi_950— Chinese (traditional) (Taiwan, Hong Kong)ansi_1361ansi_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