OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Danielm103 on July 10, 2007, 12:04:05 PM

Title: Unicode for iQuark
Post by: Danielm103 on July 10, 2007, 12:04:05 PM
Unicode for iQuark

Hi iQuark,
This is assuming you are using AC2007+, Owen is correct in saying that you should be setting the font on each control to a Unicode font  (not MBCS), unfortunately the main form or window does not have this feature.

Another issue is most of the lisp editors I know of don’t yet support Unicode ( at least mine doesn’t) but one work around is using the U+ hexadecimal value in your strings ie

(dcl_Control_SetText Splash_Form1_TextBox "\U+9009\U+62E9\U+5BF9\U+8C61")

Its kind of a pain, but you can setup the more standard prompts as variables

(setq UniWord  "\U+9009\U+62E9\U+5BF9\U+8C61")
(dcl_Control_SetText Splash_Form1_TextBox UniWord)

Here is a sample
HTH

Ps I have no idea what those characters are… :o




[attachment deleted by admin]