VLIDE special characters encoding problem

VLIDE special characters encoding problem

tombara
Observer Observer
1,139 Views
7 Replies
Message 1 of 8

VLIDE special characters encoding problem

tombara
Observer
Observer

Running ACAD 2021, special characters (č ć š đ ž) are not showing correctly in string variables in VLIDE and lisp files and programs. The symbols are showing in the ACAD, but no problem there. Don't know how to fix this, it is working fine on other pc VLIDE that has ACAD 2017, but when I want to read and use the same lisp on ACAD 2021, it doesn't show correct symbols. Pictures attached. Any help appriciated. Is there some kind of encoding just for VLIDE to be adjusted? I tried editing lisp with Visual Studio Code, these special characters were all ? symbol. After I changed them in VSC to correct special characters (č ć š đ ž), then when opened in VLIDE they were ? symbol.

0 Likes
1,140 Views
7 Replies
Replies (7)
Message 2 of 8

Sea-Haven
Mentor
Mentor

Not sure what font VLIDE uses so special characters may not exist in that font, I use Notepad ++ and it shows lots of characters, just a question what does Notepad show or at worst Word. Are the characters in lisp prompts, there is probably in the registery a set font for lisp prompts you may need to set that. 

 

Another post

 

 

 

­"." "@" "#" "%" "®" 

 

 

I know one code I provided worked fine with Japanese characters.

0 Likes
Message 3 of 8

tombara
Observer
Observer

In notepad all special characters in lisp file are ? symbol 
EDIT: Could that then be problem with windows encoding? On other pc it shows correct characters, but the language settings are the same

If I edit lisp in notepad to correct characters (č ć š đ ž), when opened in VLIDE they are shown as ÄÅ¡Ä‡Ä‘ž
How can I change lisp font in registry, where to look for that?

0 Likes
Message 4 of 8

Sea-Haven
Mentor
Mentor

This is my Bricscad (alert "č ć š đ ž")

SeaHaven_0-1705800051329.png

 

I have been writing lisp for like 40 years so use Notepad ++ and know how to work with it. Maybe try visual studio. 

 

Are you using English Acad or another language ?

 

I would like to say do a support request to Autodesk, but good luck with that, PS Bricscad do respond and are very helpful.

 

Finding the registery setting can be quite hard. I have no idea. It may even be a windows setting.

 

LISPSYS set to 0 maybe, seen in another post similar problem.

 

0 Likes
Message 5 of 8

tomislav_vargek
Enthusiast
Enthusiast

i'm having same problem, since installed autocad 2020 on new pc, lisps can't read files or folders with utf8 encoding name, and on old pc everything was ok

0 Likes
Message 6 of 8

Sea-Haven
Mentor
Mentor

Look into the Lispsys variable may fix problem.

AutoCAD 2025 Help | LISPSYS (System Variable) | Autodesk

0 Likes
Message 7 of 8

ryanatkins49056
Enthusiast
Enthusiast

As @Sea-Haven has already stated check your "LISPSYS" variable and to add to it I would set it to "1" to see if it solves your problem. At work we have had some problems previously in overseas locations and setting this variable to "1" has solved the bulk of these issues.

Also if you are using the original in-built VLIDE editor instead of VSCODE, the issue is that VLIDE is ASCII only. There is no support for unicode.

0 Likes
Message 8 of 8

tomislav_vargek
Enthusiast
Enthusiast

In case that u have version prior to 2021 like me, there isn't LISPSYS variable, so the solution is to go into Windows settings, Time & Language, Language & Region, and under Administrative language settings u select Change system locale(like in photo) and there u select your country. Do not checkmark Beta UTF signs, enjoy 

85b4824a-ea37-4ee4-9ee9-103a9cdb4899.jpg

0 Likes