This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Foreign characters code problem in c language

I want to sent and receive Turkish characters to led panel in Keil , but when I try to sent and receive with switch case, I receive this error:

switch(c)

{ case 'A':adr=97;break; //correct

case 'Ü':adr=98;break; //error character too large for enclosing character literal type.

break;

} return adr;

}

error: character too large for enclosing character literal type.

What can I solve this problem? I set 'Encode in UTF 8 without signature' setting for encoding because I can not see some Turkish character in Encode in ANSI setting.

Thanks in advance.