<?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[Wie kann ich den Fehler beheben?]]></title><description><![CDATA[<p>Wenn ich das ausführe dann kommt ein weiteres Fenster das mir sagt das das Programm nicht mer funktionirt.</p>
<pre><code>int main()
{
	_setmode(_fileno(stdout), _O_U16TEXT);

	locale::global(locale(&quot;de_DE&quot;));

	SetConsoleOutputCP(65001);

	wcout &lt;&lt; L&quot;♕&quot; &lt;&lt; endl; 
	system(&quot;pause&quot;);
	return 0;
}
</code></pre>
<p>das was augegeben werden soll ist eine Krone aber er zeigt das im forum nicht an<br />
Der Compiler Gibt keine Fehlermeldung aus.<br />
Ich hoffe ihr könnt mir helfen.</p>
<p>Ich programmire auf Win7 mit Microsoft Visual Studio C++ Express</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/329433/wie-kann-ich-den-fehler-beheben</link><generator>RSS for Node</generator><lastBuildDate>Sat, 30 May 2026 22:03:07 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/329433.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 22 Nov 2014 10:29:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Wie kann ich den Fehler beheben? on Sat, 22 Nov 2014 10:34:22 GMT]]></title><description><![CDATA[<p>Wenn ich das ausführe dann kommt ein weiteres Fenster das mir sagt das das Programm nicht mer funktionirt.</p>
<pre><code>int main()
{
	_setmode(_fileno(stdout), _O_U16TEXT);

	locale::global(locale(&quot;de_DE&quot;));

	SetConsoleOutputCP(65001);

	wcout &lt;&lt; L&quot;♕&quot; &lt;&lt; endl; 
	system(&quot;pause&quot;);
	return 0;
}
</code></pre>
<p>das was augegeben werden soll ist eine Krone aber er zeigt das im forum nicht an<br />
Der Compiler Gibt keine Fehlermeldung aus.<br />
Ich hoffe ihr könnt mir helfen.</p>
<p>Ich programmire auf Win7 mit Microsoft Visual Studio C++ Express</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2429020</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2429020</guid><dc:creator><![CDATA[atomicfire]]></dc:creator><pubDate>Sat, 22 Nov 2014 10:34:22 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich den Fehler beheben? on Sat, 22 Nov 2014 12:59:00 GMT]]></title><description><![CDATA[<p>Höchstwahrscheinlich wird das Locale nicht gesetzt. Schonmal <code>&quot;de_DE.UTF8&quot;</code> probiert?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2429026</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2429026</guid><dc:creator><![CDATA[Columbo]]></dc:creator><pubDate>Sat, 22 Nov 2014 12:59:00 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich den Fehler beheben? on Sat, 22 Nov 2014 13:11:03 GMT]]></title><description><![CDATA[<p>Klapt auch nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2429029</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2429029</guid><dc:creator><![CDATA[atomicfire]]></dc:creator><pubDate>Sat, 22 Nov 2014 13:11:03 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich den Fehler beheben? on Sat, 22 Nov 2014 22:01:19 GMT]]></title><description><![CDATA[<p>Ich habe dazu folgendes gefunden:</p>
<blockquote>
<p>MSVC C++ std::locale and C setlocale</p>
<p>Accepts locale names as &quot;Language[_Country][.Codepage]&quot; for example &quot;English_United States.1251&quot; Otherwise would throws. Note: codepage can't be 65001/UTF-8 and should be consistent with ANSI codepage for this locale (or just omitted)</p>
</blockquote>
<p><a href="http://stackoverflow.com/questions/4406895/what-stdlocale-names-are-available-on-common-windows-compilers" rel="nofollow">http://stackoverflow.com/questions/4406895/what-stdlocale-names-are-available-on-common-windows-compilers</a></p>
<p>und msdn setlocale<br />
<a href="http://msdn.microsoft.com/en-us/library/x99tb11d.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/x99tb11d.aspx</a></p>
<p>wo es Beispielsweise heißt &quot;en-US&quot;.</p>
<p>Ich habe locales noch nicht verwendet / verwenden müssen. Solche Gedanken hat mir normalerweise die Gui library abgenommen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2429089</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2429089</guid><dc:creator><![CDATA[5cript]]></dc:creator><pubDate>Sat, 22 Nov 2014 22:01:19 GMT</pubDate></item><item><title><![CDATA[Reply to Wie kann ich den Fehler beheben? on Sun, 23 Nov 2014 08:33:21 GMT]]></title><description><![CDATA[<p>Danke hat geholfen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2429115</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2429115</guid><dc:creator><![CDATA[atomicfire]]></dc:creator><pubDate>Sun, 23 Nov 2014 08:33:21 GMT</pubDate></item></channel></rss>