16bit characters in IAR

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

16bit characters in IAR

236 Views
ryanlush
Contributor IV

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?

0 Kudos
0 Replies