Jump to content

Dev Question: What character encoding is used in LUA environments for DCS?


Recommended Posts

Posted

Quick question.

 

Since lua has no widechar support and uses just bytestrings. Can we assume DCS always outputs strings in lua environments as utf8? (e.g. Export.lua)

 

Thanks..

 

/Y

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

Posted

If anyone is interested, all our tests so far suggest dcs DOES encode strings in Export.lua environment with utf8 :). We exported some cyrillic stuff, sent as json and it was successfully read on the receiving end!

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...