Search the Community
Showing results for tags 'unicode'.
-
Lee-Mac LM:setattributevalue Unicode Support
janickovic posted a topic in AutoLISP, Visual LISP & DCL
Hi! I am having troubles using lee-mac setattributevalue. I would like to load unicode based text file with attributes, and set attribute using its functions. i think the problem is while reading data from the file, any possible help ? need to be Vanilla Lisp. Thanks -
Hi all, I have written a simple routine to convert "Unicode"s to equivalent "character"s It is as following: (defun MT:Conv:Unichar->Char ;added: 94/12/12 (%unichar% / *ret*) (command "_.TEXT" '(0 0) "0.3" "0" %unichar%) (setq *ret* (cdr (assoc 1 (entget (entlast))))) (entdel (entlast)) *ret* ) Example: (MT:Conv:Unichar->Char "\\U+0647") -- returns --> "ه" Is there any way to define a function to do the reverse? I mean, it gets "character" as arguments and returns equivalent "Unicode"? I appreciate any help or suggestions.