TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: baitang36 on March 17, 2021, 01:19:13 AM

Title: How does autocad2021 support Unicode
Post by: baitang36 on March 17, 2021, 01:19:13 AM
AutoCAD supports Unicode from 2021. What's the use of this function? The notepad of win10 already supports UTF-8 by default, and the autodesk has to keep pace.
the function of Unicode is to support multiple languages at the same time. If you want to display simplified chinese, traditional chainese, Japanese and Korean in a sentence at the same time, you need to use Unicode.
If your program has only English letters, no Chinese characters, no Japanese or Korean, then UTF-8 is no different from the original ANSI.
Autocad2021 supports Unicode, but it will also pay a high price. In the future, the higher version of Fas will not be used in the lower version. Of course, the old Fas will still be used normally in the new CAD.
Open the installation directory of CAD, You can see that most files at the beginning of VL have two similar file names at the same time, one is traditional and the other is new. as vl.arx , a new vl_ u.arx。  There is one vl.crx There are also vl_ u.crx.
vl.arx It doesn't support Unicode, VL_ u. ARX supports Unicode.
In other words, the table company has got two sets of VLISP to start acad.exe Which set to load depends on the system variable lispsys
Lispsys = 1, load the Unicode version of VLISP; lispsys = 0, load the traditional version of VLISP.
This is also the reason why the system variable lispsys is changed, and CAD needs to be restarted to take effect.
Title: Re: How does autocad2021 support Unicode
Post by: baitang36 on March 17, 2021, 01:21:34 AM
The new version of fas makes the existing decompiler software useless .
Title: Re: How does autocad2021 support Unicode
Post by: d2010 on March 17, 2021, 01:49:53 AM
Can you upload a few samples files ?
(E.g list.vlx lispascii_u.vlx, lispascii.lsp, lispascii_u.lsp)
AutoCAD supports Unicode from 2021. What's the use of this function? The notepad of win10 already supports UTF-8 by default, and the autodesk has to keep pace.
the function of Unicode is to support multiple languages at the same time. If you want to display simplified chinese, traditional chainese, Japanese and Korean in a sentence at the same time, you need to use Unicode.
Title: Re: How does autocad2021 support Unicode
Post by: baitang36 on March 17, 2021, 03:35:11 AM
(princ "this is a test")
Title: Re: How does autocad2021 support Unicode
Post by: baitang36 on March 17, 2021, 03:36:25 AM
(princ "this is a test")
Title: Re: How does autocad2021 support Unicode
Post by: baitang36 on March 18, 2021, 12:25:22 AM
Can you upload a few samples files ?
(E.g list.vlx lispascii_u.vlx, lispascii.lsp, lispascii_u.lsp)
AutoCAD supports Unicode from 2021. What's the use of this function? The notepad of win10 already supports UTF-8 by default, and the autodesk has to keep pace.
the function of Unicode is to support multiple languages at the same time. If you want to display simplified chinese, traditional chainese, Japanese and Korean in a sentence at the same time, you need to use Unicode.