<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Foreign characters code problem in c language</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/34990/foreign-characters-code-problem-in-c-language</link><description> 
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 &amp;#39;A&amp;#39;:adr=97;break; //correct 

 
case &amp;#39;&amp;#220;&amp;#39;:adr=98;break; //error character too large</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Foreign characters code problem in c language</title><link>https://community.arm.com/thread/93620?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2015 01:53:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:93df8931-2d58-4392-80eb-57799f28c2f2</guid><dc:creator>edPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Note that the of national characters is much bigger than to select
a character set for the editor.&lt;/p&gt;

&lt;p&gt;
You both need to consider the character encoding - like if you
need wide characters or need to use a multi-byte character set (like
UTF-8). But you also need to consider if the display supports
additional characters. Or if it supports that you upload bitmaps for
a number of character code points.&lt;/p&gt;

&lt;p&gt;
So sending of national characters to a display is normally never
something to discuss with the editor or compiler vendor - especially
since the source code can handle arbitrary binary values in text
strings by use of hexadecimal constants.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Foreign characters code problem in c language</title><link>https://community.arm.com/thread/64341?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2015 00:46:26 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1085581d-abc1-4352-ae5f-a6b4dd9346c8</guid><dc:creator>Martin Unger</dc:creator><description>&lt;p&gt;&lt;p&gt;
In UTF-8 not all characters are represented by a single byte (as
in ASCII), so &amp;quot;char cMayChar&amp;quot; can generally not be used for storage.
Check web for more explanations.&lt;/p&gt;

&lt;p&gt;
Martin&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>