Software:QCAD Pro 3.22.0.0
OS:Mac Mojave/CentOS7 (/Windows10)
Use Font:
Windows - MS UI Gothic
Mac - Osaka
Hello.
It is garbled when reading DXF file including Japanese / full-width characters with QCAD for Mac / Linux version.
In the Windows version, the character is not garbled if it is SJIS, but in the Mac / Linux version, garble occurs in both SJIS / UTF8.
However, even in the Mac / Linux version, Japanese is displayed for DWG files converted by AutoCAD.
Is the Mac / Linux version not compatible with DXF including Japanese / full-width characters?
Thank you.
[solved] [Mac/Linux] Japanese / Full-width Garbled
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
[solved] [Mac/Linux] Japanese / Full-width Garbled
- Attachments
-
- afn-s_utf8.dxf
- (314.23 KiB) Downloaded 378 times
-
- mac_dwg.png (315.82 KiB) Viewed 4113 times
-
- mac_sjis_dxf.png (337.52 KiB) Viewed 4113 times
-
- mac_utf8_dxf.png (331.48 KiB) Viewed 4113 times
-
- windows_utf8_dxf.png (329.63 KiB) Viewed 4113 times
-
- windows_sjis_dxf.png (286.17 KiB) Viewed 4113 times
-
- afn-s.dwg
- (98.9 KiB) Downloaded 387 times
-
- afn-s_SJIS.dxf
- (314.23 KiB) Downloaded 378 times
Re: [Mac/Linux] Japanese / Full-width Garbled
It is additional info.
①
DWG(afn-s.dwg) → In → QCAD(Mac) → Out → DXF → In → QCAD(Mac) - Not garbled
②
DXF(QCAD Output) → In → AutoCad(Mac) → Out → DXF(AC R2004 / AC R2018) → In → QCAD(Mac) - Not garbled
③
DXF(afn-s_SJIS.dxf) → In → AutoCad(Mac) → Out → DXF(AC R2004 / AC R2018) → In → QCAD(Mac) - Not garbled
Is this a problem with the DXF file?
①
DWG(afn-s.dwg) → In → QCAD(Mac) → Out → DXF → In → QCAD(Mac) - Not garbled
②
DXF(QCAD Output) → In → AutoCad(Mac) → Out → DXF(AC R2004 / AC R2018) → In → QCAD(Mac) - Not garbled
③
DXF(afn-s_SJIS.dxf) → In → AutoCad(Mac) → Out → DXF(AC R2004 / AC R2018) → In → QCAD(Mac) - Not garbled
Is this a problem with the DXF file?
Re: [Mac/Linux] Japanese / Full-width Garbled
Yes, there is a problem with this DXF file: it does not provide a code page (encoding).
You can open the DXF file in a text editor and add the code page to it as follows:
Beginning of file (original, without code page):
Beginning of file (new, with code page):
This will fix the issue with text encoding. Note that the font "standard" in QCAD does not contain any Japanese glyphs, so you will also have to substitute the font with another font, for example Arial (Edit > Substitute Fonts).
For more details about this issue, please refer to the Autodesk website.
You can open the DXF file in a text editor and add the code page to it as follows:
Beginning of file (original, without code page):
Code: Select all
0
SECTION
2
HEADER
9
$ACADVER
1
AC1009
9
$INSBASE
10
0
20
0
30
0
Code: Select all
0
SECTION
2
HEADER
9
$ACADVER
1
AC1009
9
$DWGCODEPAGE
3
ANSI_932
9
$INSBASE
10
0
20
0
30
0
For more details about this issue, please refer to the Autodesk website.
Re: [Mac/Linux] Japanese / Full-width Garbled
Hi Andrew.
Thank you for reply.
I tried, the problem was solved.
Thank you!
Thank you for reply.
I tried, the problem was solved.
Thank you!