ascii("") is [] instead of 0 (while ascii(0)=="" is OK). ascii([65 0 66 67 0 68]) is ascii(65) instead of ascii([65 66 67 68])
Reported by S.Dobek
BUG DESCRIPTION:
----------------
I am running a program that uses scilab as a Human Machine Interface for PLC. It uses modbus RTU via serial communication (atoms serial 0.4.2). My program run correctly in scilab 5.5.2. When I use ascii to convert an uint8 array if a 0 is present the conversion stops and return the current array with no error reported... To summarize atoms serial requires a string, however, ascii(0) or char(0) does not print a null character for me to use.
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
ascii([97,98,99,0,100,101,0])
OTHER INFORMATION:
------------------