This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, I need to use UTF-16 strings in CCS V4 with LM3S9B96. I've set the encoding type to UTF-16 so I can open the c file in question in ccs and view the content.
I've then set the compiler option for multibyte character support. I still get a compiler error " null (zero) character in input line ignored".
Not sure if I've left something out.
Regards, Colin.
Colin,
The compiler does support multibyte character strings in comments . You may find this post useful: http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/99/p/7045/27350.aspx#27350
If the compiler is giving errors only on certain characters, please attach the source file so we can duplicate the issue and track it as a bug report.
In addition, please see the ARM compiler book http://www.ti.com/lit/pdf/spnu151 . Search for "multi-byte".
Thanks and regards,
-George
Hi, thanks all, I understand now the editor supports utf16 but the compiler only supports utf-8 encoding. I just need to translate the strings from utf-8 to utf-16 at runtime.
Regards, Colin.