<?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[Fehler bei Darstellung von Deutschen Umlauten]]></title><description><![CDATA[<p>Hallo Freunde, entschuldigt nochmal die Störung,</p>
<p>Aber ich ärgere mich grad mit folgendem Problem rum:<br />
Die Zeile<br />
cout &lt;&lt; &quot;[1] Zur\x81ck \n&quot;; soll ein ö darstellen</p>
<p>Beim Kompilieren folgende Fehlermeldung:</p>
<pre><code>D:\Programmierung\C++\Programme\RPG&gt;g++ -std=c++14 -o RPG.exe RPG.cpp
RPG.cpp: In member function 'void Mensch::anzeigen()':
RPG.cpp:85:11: warning: hex escape sequence out of range
   cout &lt;&lt; &quot;[1] Zur\x94ck \n&quot;;
</code></pre>
<p>Ich bitte um Hilfe!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/340249/fehler-bei-darstellung-von-deutschen-umlauten</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 09:05:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/340249.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Oct 2016 17:47:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fehler bei Darstellung von Deutschen Umlauten on Thu, 27 Oct 2016 17:47:48 GMT]]></title><description><![CDATA[<p>Hallo Freunde, entschuldigt nochmal die Störung,</p>
<p>Aber ich ärgere mich grad mit folgendem Problem rum:<br />
Die Zeile<br />
cout &lt;&lt; &quot;[1] Zur\x81ck \n&quot;; soll ein ö darstellen</p>
<p>Beim Kompilieren folgende Fehlermeldung:</p>
<pre><code>D:\Programmierung\C++\Programme\RPG&gt;g++ -std=c++14 -o RPG.exe RPG.cpp
RPG.cpp: In member function 'void Mensch::anzeigen()':
RPG.cpp:85:11: warning: hex escape sequence out of range
   cout &lt;&lt; &quot;[1] Zur\x94ck \n&quot;;
</code></pre>
<p>Ich bitte um Hilfe!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513127</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513127</guid><dc:creator><![CDATA[Dexter1997]]></dc:creator><pubDate>Thu, 27 Oct 2016 17:47:48 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler bei Darstellung von Deutschen Umlauten on Thu, 27 Oct 2016 17:52:04 GMT]]></title><description><![CDATA[<p>Der Wert 0x81c ist zu groß.</p>
<p>Du kannst oktal nehmen oder den String aufteilen.</p>
<p>&quot;[1] Zur\201ck \n&quot; oder &quot;[1] Zur\x81&quot;&quot;ck \n&quot;</p>
<p>Oder ganz auf Umlaut5e verzichten.<br />
Das ist problemloser und funktioniert auch mit anderen Codepages.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513128</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513128</guid><dc:creator><![CDATA[DirkB]]></dc:creator><pubDate>Thu, 27 Oct 2016 17:52:04 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler bei Darstellung von Deutschen Umlauten on Thu, 27 Oct 2016 17:55:42 GMT]]></title><description><![CDATA[<p>Das anschließende 'c' wird als Teil der Hexadezimalsequenz gewertet. Abhilfen sind vielerlei. Du könntest Oktaldarstellung benutzen ('\' mit einfach nur Ziffern dahinter). Oder die \u-Sequenz mit fester Breite (4). Oder die \U-Sequenz mit fester Breite (8). Oder du könntest das Literal zerlegen in <code>&quot;zur\x94&quot;&quot;ck&quot;</code></p>
<p>Allgemein: Kannst du nicht einfach 'ü' im Quellcode schreiben? Welche archaischen Systeme können denn kein Unicode? Oh, Windowskonsole...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513130</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513130</guid><dc:creator><![CDATA[SeppJ]]></dc:creator><pubDate>Thu, 27 Oct 2016 17:55:42 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler bei Darstellung von Deutschen Umlauten on Thu, 27 Oct 2016 17:57:40 GMT]]></title><description><![CDATA[<p>Bei der Oktalnotierung ist nach drei Zeichen Schluss.</p>
<p>Die Hexadezimalnotierung dagegen ist gierig. Die nimmt soviel Hexziffern, wie sie bekommen kann.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513132</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513132</guid><dc:creator><![CDATA[DirkB]]></dc:creator><pubDate>Thu, 27 Oct 2016 17:57:40 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler bei Darstellung von Deutschen Umlauten on Thu, 27 Oct 2016 18:02:45 GMT]]></title><description><![CDATA[<p>Verstehe. Ich habe allerdings gelernt, daß die Kenntlichmachung von Oktalzahlen in C++ eine führende 0 erfordert. Bilden Steuerzeichen da eine Ausnahme?</p>
<p>Ja, ich nutze Windows (10). Habe aber vor, sofern meine Geräte es zulassen, auf Linux umzusteigen, da Windows heutzutage nichts weiter als Spyware ist. Ich werde mich die Tage rannmachen, Linux Puppy auszuprobieren, scheint am unproblematischsten zu sein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513135</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513135</guid><dc:creator><![CDATA[Dexter1997]]></dc:creator><pubDate>Thu, 27 Oct 2016 18:02:45 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler bei Darstellung von Deutschen Umlauten on Thu, 27 Oct 2016 18:05:28 GMT]]></title><description><![CDATA[<p>Du hast da eine Escapesequence.</p>
<p>Ein Hexadezimalzahl wird in C auch mit 0x eingeleitet. (Hast du in dem String auch nicht)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513137</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513137</guid><dc:creator><![CDATA[DirkB]]></dc:creator><pubDate>Thu, 27 Oct 2016 18:05:28 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler bei Darstellung von Deutschen Umlauten on Thu, 27 Oct 2016 18:11:01 GMT]]></title><description><![CDATA[<p>Stimmt. Wie kann C++ also bei den Steuerzeichen zwischen Hexadezimalzahlen und Oktalzahlen unterscheiden?</p>
<p>Beispielsweise könnte die Zahl 101011 dezimal, duodezimal, hexadezimal, binär usw. interpretiert werden</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513140</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513140</guid><dc:creator><![CDATA[Dexter1997]]></dc:creator><pubDate>Thu, 27 Oct 2016 18:11:01 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler bei Darstellung von Deutschen Umlauten on Thu, 27 Oct 2016 18:14:23 GMT]]></title><description><![CDATA[<p>Schau dir (bei Wikipedia) mal Escapesequencen an.</p>
<p>Mit \ fängt da eine Oktalzahl an. Mit \x eine Hexzahl.<br />
Dual- und Dezimalzahlen sind da nicht vorgesehen.</p>
<p>Ich kenne keine Sprache, die duodezimal-Zahlen als Literale annimmt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513141</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513141</guid><dc:creator><![CDATA[DirkB]]></dc:creator><pubDate>Thu, 27 Oct 2016 18:14:23 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler bei Darstellung von Deutschen Umlauten on Thu, 27 Oct 2016 18:34:14 GMT]]></title><description><![CDATA[<p>Alles klar, damit ist alles geklärt!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513144</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513144</guid><dc:creator><![CDATA[Dexter1997]]></dc:creator><pubDate>Thu, 27 Oct 2016 18:34:14 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler bei Darstellung von Deutschen Umlauten on Thu, 27 Oct 2016 18:39:47 GMT]]></title><description><![CDATA[<blockquote>
<p>Ich kenne keine Sprache, die duodezimal-Zahlen als Literale annimmt.</p>
</blockquote>
<p>Ich schon: Gibt's in manchen Smalltalk-Dialekten, heißt Radix-Notation</p>
<pre><code>12r34BA
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2513146</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513146</guid><dc:creator><![CDATA[zufallswert]]></dc:creator><pubDate>Thu, 27 Oct 2016 18:39:47 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler bei Darstellung von Deutschen Umlauten on Thu, 27 Oct 2016 20:52:59 GMT]]></title><description><![CDATA[<p>Dexter1997 schrieb:</p>
<blockquote>
<p>Hallo Freunde, entschuldigt nochmal die Störung,</p>
<p>Aber ich ärgere mich grad mit folgendem Problem rum:<br />
Die Zeile<br />
cout &lt;&lt; &quot;[1] Zur\x81ck \n&quot;; soll ein ö darstellen</p>
<p>Beim Kompilieren folgende Fehlermeldung:</p>
</blockquote>
<p>Schick Deine Strings vor der Ausgabe durch diese Funktion:<br />
<a href="https://msdn.microsoft.com/de-de/library/windows/desktop/dd319646(v=vs.85).aspx" rel="nofollow">https://msdn.microsoft.com/de-de/library/windows/desktop/dd319646(v=vs.85).aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2513170</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2513170</guid><dc:creator><![CDATA[Belli]]></dc:creator><pubDate>Thu, 27 Oct 2016 20:52:59 GMT</pubDate></item></channel></rss>