<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[bezüglich UNICODE Und sizeof]]></title><description><![CDATA[<p>kann man ein unicode TCHAR auch mit sizeof ermitteln? also die größe=</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/220223/bezüglich-unicode-und-sizeof</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 00:23:32 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/220223.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Aug 2008 11:31:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to bezüglich UNICODE Und sizeof on Wed, 13 Aug 2008 11:31:53 GMT]]></title><description><![CDATA[<p>kann man ein unicode TCHAR auch mit sizeof ermitteln? also die größe=</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1563927</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1563927</guid><dc:creator><![CDATA[Frage123]]></dc:creator><pubDate>Wed, 13 Aug 2008 11:31:53 GMT</pubDate></item><item><title><![CDATA[Reply to bezüglich UNICODE Und sizeof on Wed, 13 Aug 2008 11:34:22 GMT]]></title><description><![CDATA[<p>Die größe jeden Typs kannst du mit sizeof() ermitteln:</p>
<pre><code class="language-cpp">int i = sizeof(TCHAR); // Je nach eingestellter Option entweder 1 oder 2
</code></pre>
<p>Hinweis: Sind die Anzahl der Bytes an eine Funktion zu übergeben musst du bei TCHAR-Strings vorsichtig sein, und folgendermaßen übergeben:<br />
[cpp}<br />
const TCHAR* mystr = ...;</p>
<p>FuncNeedsByteCount(mystr, _tcslen(mystr) * sizeof(TCHAR));<br />
[/cpp]</p>
<p>MfG SideWinder</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1563931</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1563931</guid><dc:creator><![CDATA[SideWinder]]></dc:creator><pubDate>Wed, 13 Aug 2008 11:34:22 GMT</pubDate></item><item><title><![CDATA[Reply to bezüglich UNICODE Und sizeof on Wed, 13 Aug 2008 11:46:51 GMT]]></title><description><![CDATA[<p>omg was hat UNICODE eigentlich für einen Sinn? Nur damit jeder char 2 bytes belegt und das programm daruch fett und langsam wird? Ich will sowieso keine Chinesischen zeichen darstellen oO</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1563943</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1563943</guid><dc:creator><![CDATA[Frage123]]></dc:creator><pubDate>Wed, 13 Aug 2008 11:46:51 GMT</pubDate></item><item><title><![CDATA[Reply to bezüglich UNICODE Und sizeof on Wed, 13 Aug 2008 12:13:26 GMT]]></title><description><![CDATA[<p>Warum machst Du es dann? Schalte es einfach ab... in den Projekteinstellungen unter &quot;General|Character Set&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1563971</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1563971</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Wed, 13 Aug 2008 12:13:26 GMT</pubDate></item></channel></rss>