text - AutoCAD displays `question mark` instead of tab character when using AutoLISP -


software: autocad 2012 (japanese language)

system: ms windows 7 (japanese language)

i have made .lsp file defines new function "c:makeatable".

i trying print string contains tab character, using autolisp. character shows question mark (?).

if manually try edit (by double-clicking it, or using ddedit, or textedit ) automatically gets converted tab character, require.

i don`t know character encoding being used (if causing problem). font being used "txt.shx".

things have tried:

  • used (chr 9) in concatenation rest of string => still shows question mark
  • tried print 2 parts of string (on either side of tab) separately => not good, since need text single object
  • tried using "ddedit" function in code => requires user press enter @ every invocation, not good.
    • i tried simulatinging enter key using " " , "" , ";" , (terpri). nothing works, still prompts user select object.
  • tried using "textedit" function in code => doesn`t anything; says that," makeatable unknown command "makeatable". press f1 help."
  • ran same code on english language pc , english version of autocad 2012 => same problem if use of .shx fonts; works fine if use other fonts "arial"

i might have missed thing or two, please let me know if other information required.

perhaps different approach:

isn't problem trying create "singleline text" object in autocad. these not support tabs. try use "multline text" object instead.

cheers, alain


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -