Jump to content

Letters with superscript in Lisp dont work anymore


Recommended Posts

Posted (edited)

Hi all, I don't know what AutoCAD did with their updates, but since a few days my Lisp programs don't work anymore wich included special letters with a superscript (ä ü ö ß é á ...).

 

In the command bar, for example, this text here: "Format pour l'étiquette d'expédition (79.00 x 103.00 mm)"

is printed like this:  Format pour l'étiquette d'expédition (79.00 x 103.00 mm).

 

Does anyone have the same problem, what can be changed?

 

(defun C:pagesetup_ship_1 ()
  
   (command "-SEITENEINR" 
			"DWG To PDF.pc3" 
			"Format pour l'étiquette d'expédition  (79.00 x 103.00 mm)"
			"M" 
			"H"
			"N"
			"L"
			"1:1"
			"0,0"
			"J"
			"editsoft.ctb"
			"J"
			"N"
			"N"
			"N"
   )
 
)

 

My Syscodepage is ANSI_1252 btw.

Edited by Manuel_Kunde
Posted

Which editor are you using?

The system variable LISPSYS (System Variable) controls which editor is set to default 

VLIDE no longer supports Unicode characters. If you need those extended characters you should try Visual Studio (VS) Code.

Posted
6 hours ago, mhupp said:

When you say "is printed like this" do you mean a file is made like PDF with that name?

It sounds like maybe your OS default font got changed.

 

 

 


This is a general problem with the letters. The above code only sets a page setup.

But in all my programs that contain special letters, the characters are not longer recognized.

Posted
6 hours ago, tombu said:

Which editor are you using?

The system variable LISPSYS (System Variable) controls which editor is set to default 

VLIDE no longer supports Unicode characters. If you need those extended characters you should try Visual Studio (VS) Code.


I only use Visual Studio.

Posted

This problem may be caused by the encoding of the LSP file. Try converting to ANSI.

In Notepad++: Encoding -> Convert to ANSI

Posted
On 12/9/2021 at 2:01 PM, Manuel_Kunde said:

My Lispsys is set 1

If you're wanting to use ASCII characters you need it set to 2.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...