AnsweredAssumed Answered

16bit characters in IAR

Question asked by Ryan Lush on Mar 14, 2018

I have some code written with Code Warrior that uses 16bit characters like so


char* str L"some string"


My understanding is that the L tells the compiler to treat the string as wide_t type characters. Trouble is in IAR the wide_t is 32bits so my string has 32bit characters. Is it possible to create a string in IAR with 16bit characters?