<?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[CString | utf-8 in ansi]]></title><description><![CDATA[<p>Hallo,<br />
wie konvertiere ich einen CString mit Utf-8 Text in einen CString in &quot;Klartext&quot;?</p>
<p>Grüße,<br />
Stewie</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/172510/cstring-utf-8-in-ansi</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Apr 2026 18:30:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/172510.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 Feb 2007 19:40:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CString | utf-8 in ansi on Mon, 05 Feb 2007 19:40:22 GMT]]></title><description><![CDATA[<p>Hallo,<br />
wie konvertiere ich einen CString mit Utf-8 Text in einen CString in &quot;Klartext&quot;?</p>
<p>Grüße,<br />
Stewie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1223471</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1223471</guid><dc:creator><![CDATA[Stewie2k]]></dc:creator><pubDate>Mon, 05 Feb 2007 19:40:22 GMT</pubDate></item><item><title><![CDATA[Reply to CString | utf-8 in ansi on Mon, 05 Feb 2007 19:40:53 GMT]]></title><description><![CDATA[<p>Was soll den &quot;Klartext&quot; sein? Sowas gibt es nicht...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1223473</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1223473</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Mon, 05 Feb 2007 19:40:53 GMT</pubDate></item><item><title><![CDATA[Reply to CString | utf-8 in ansi on Mon, 05 Feb 2007 19:56:16 GMT]]></title><description><![CDATA[<p>VON: Leksand vs IF BjÃ¶rk<br />
Nach: Björk</p>
<p>Ist das überhaupt utf-8?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1223482</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1223482</guid><dc:creator><![CDATA[Stewie2k]]></dc:creator><pubDate>Mon, 05 Feb 2007 19:56:16 GMT</pubDate></item><item><title><![CDATA[Reply to CString | utf-8 in ansi on Mon, 05 Feb 2007 20:09:52 GMT]]></title><description><![CDATA[<p>Okay, es ist definitiv utf-8:</p>
<p>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1223493</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1223493</guid><dc:creator><![CDATA[Stewie2k]]></dc:creator><pubDate>Mon, 05 Feb 2007 20:09:52 GMT</pubDate></item><item><title><![CDATA[Reply to CString | utf-8 in ansi on Mon, 05 Feb 2007 20:13:08 GMT]]></title><description><![CDATA[<p>Habe schon das passende gefunden:</p>
<pre><code class="language-cpp">CString utf8text = &quot;Leksand vs IF BjÃ¶rklÃ¶ven&quot;;
  CString ansitext = &quot;&quot;;

  char m[500];
  WCHAR w[500];

  strcpy(m, utf8text);
  MultiByteToWideChar(CP_UTF8, 0, m, -1, w, sizeof(w) / sizeof(WCHAR));
  WideCharToMultiByte(CP_ACP, 0, w, -1, m, sizeof(m), 0, 0);

  ansitext = m;
</code></pre>
<p>Quelle: <a href="http://www.coding-net.de/visual_c_plusplus/konvertierungen/3_utf-8_in_ansi_konvertieren.html" rel="nofollow">http://www.coding-net.de/visual_c_plusplus/konvertierungen/3_utf-8_in_ansi_konvertieren.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1223498</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1223498</guid><dc:creator><![CDATA[Stewie2k]]></dc:creator><pubDate>Mon, 05 Feb 2007 20:13:08 GMT</pubDate></item></channel></rss>