<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Kinetis Design StudioのトピックUnicode support in KDS3.0?</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Unicode-support-in-KDS3-0/m-p/507153#M6520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The KDS define unicode string as 4bytes length, but which will waste 2bytes for one character.&lt;/P&gt;&lt;P&gt;How to define Unicode character for 2bytes? thx.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in &amp;lt;stddef.h&amp;gt;, there is definition.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;#ifndef&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt; __WCHAR_TYPE__&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;#define&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt; __WCHAR_TYPE__ &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;int&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;#endif&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;#ifndef&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; __cplusplus&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;typedef&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; __WCHAR_TYPE__ &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #005032; background: silver;"&gt;wchar_t&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Dec 2015 15:06:15 GMT</pubDate>
    <dc:creator>daweiyou</dc:creator>
    <dc:date>2015-12-28T15:06:15Z</dc:date>
    <item>
      <title>Unicode support in KDS3.0?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Unicode-support-in-KDS3-0/m-p/507153#M6520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The KDS define unicode string as 4bytes length, but which will waste 2bytes for one character.&lt;/P&gt;&lt;P&gt;How to define Unicode character for 2bytes? thx.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in &amp;lt;stddef.h&amp;gt;, there is definition.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;#ifndef&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt; __WCHAR_TYPE__&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;#define&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black; background: white;"&gt; __WCHAR_TYPE__ &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;int&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; background: white; font-size: 10.0pt; font-family: Consolas;"&gt;#endif&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;#ifndef&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; __cplusplus&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; font-family: Consolas;"&gt;typedef&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; __WCHAR_TYPE__ &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #005032; background: silver;"&gt;wchar_t&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2015 15:06:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Unicode-support-in-KDS3-0/m-p/507153#M6520</guid>
      <dc:creator>daweiyou</dc:creator>
      <dc:date>2015-12-28T15:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unicode support in KDS3.0?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Unicode-support-in-KDS3-0/m-p/507154#M6521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found one solution from previous topic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add below compile parameter for GCC, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; -fshort-wchar&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 05:08:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Unicode-support-in-KDS3-0/m-p/507154#M6521</guid>
      <dc:creator>daweiyou</dc:creator>
      <dc:date>2015-12-30T05:08:06Z</dc:date>
    </item>
  </channel>
</rss>

