<?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[UTF-8 Zeichen]]></title><description><![CDATA[<p>Hallo! Ich muss zum Separieren eines UTF-8 Strings ein Sonderzeichen verwenden. Selbstverständlich bekomme ich vom Google Style Guide eine Warnung. Wie kann ich das umgehen ohne // NOLINT anzuhängen.</p>
<p><em>[Bitte keine Grundsatzdiskussion über diesen Style Guide anfangen!]</em></p>
<pre><code class="language-cpp">Line contains invalid UTF-8 (or Unicode replacement character).  [readability/utf8] [5]
</code></pre>
<pre><code class="language-cpp">std::size_t pos = x.find(&quot;»&quot;);  // Wie kann ich das hier umgehen?
if (pos != std::string::npos) {
  x.erase(pos - 1);
}
</code></pre>
<p>Vielen Dank im Voraus!<br />
T.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/299288/utf-8-zeichen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 11:33:08 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/299288.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Feb 2012 15:15:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to UTF-8 Zeichen on Tue, 07 Feb 2012 15:15:59 GMT]]></title><description><![CDATA[<p>Hallo! Ich muss zum Separieren eines UTF-8 Strings ein Sonderzeichen verwenden. Selbstverständlich bekomme ich vom Google Style Guide eine Warnung. Wie kann ich das umgehen ohne // NOLINT anzuhängen.</p>
<p><em>[Bitte keine Grundsatzdiskussion über diesen Style Guide anfangen!]</em></p>
<pre><code class="language-cpp">Line contains invalid UTF-8 (or Unicode replacement character).  [readability/utf8] [5]
</code></pre>
<pre><code class="language-cpp">std::size_t pos = x.find(&quot;»&quot;);  // Wie kann ich das hier umgehen?
if (pos != std::string::npos) {
  x.erase(pos - 1);
}
</code></pre>
<p>Vielen Dank im Voraus!<br />
T.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2178072</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2178072</guid><dc:creator><![CDATA[Tomahawk]]></dc:creator><pubDate>Tue, 07 Feb 2012 15:15:59 GMT</pubDate></item><item><title><![CDATA[Reply to UTF-8 Zeichen on Tue, 07 Feb 2012 15:24:32 GMT]]></title><description><![CDATA[<p>Escape-Sequenz hinschreiben?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2178078</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2178078</guid><dc:creator><![CDATA[Michael E.]]></dc:creator><pubDate>Tue, 07 Feb 2012 15:24:32 GMT</pubDate></item><item><title><![CDATA[Reply to UTF-8 Zeichen on Tue, 07 Feb 2012 15:28:37 GMT]]></title><description><![CDATA[<p>Michael E. schrieb:</p>
<blockquote>
<p>Escape-Sequenz hinschreiben?</p>
</blockquote>
<p>Sorry für die doofe Frage, aber die Escape Sequenz ist -69 ?! Weiss gerade nicht, wie ich damit umgehen soll - Null Ahnung von UTF-8 <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2178080</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2178080</guid><dc:creator><![CDATA[Tomahawk]]></dc:creator><pubDate>Tue, 07 Feb 2012 15:28:37 GMT</pubDate></item><item><title><![CDATA[Reply to UTF-8 Zeichen on Tue, 07 Feb 2012 15:38:18 GMT]]></title><description><![CDATA[<p>&quot;\0xC2\0xBB&quot;. Siehe <a href="http://www.utf8-zeichentabelle.de/" rel="nofollow">http://www.utf8-zeichentabelle.de/</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2178088</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2178088</guid><dc:creator><![CDATA[Michael E.]]></dc:creator><pubDate>Tue, 07 Feb 2012 15:38:18 GMT</pubDate></item></channel></rss>