<?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[Koventieren nach wide character???]]></title><description><![CDATA[<p>Hallo,</p>
<p>gibt es irgendwelche std. Koventierungsfunktionen<br />
für Text von char zu wide character?</p>
<p>Wie muss man sich das überhaupt vorstellen, gibt es<br />
für wide character auch sowas wie den acsii-code,<br />
mit halt nur mehr zeichen????</p>
<p>thx</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/177507/koventieren-nach-wide-character</link><generator>RSS for Node</generator><lastBuildDate>Sun, 20 Sep 2026 00:33:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/177507.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 01 Apr 2007 10:08:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Koventieren nach wide character??? on Sun, 01 Apr 2007 10:08:54 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>gibt es irgendwelche std. Koventierungsfunktionen<br />
für Text von char zu wide character?</p>
<p>Wie muss man sich das überhaupt vorstellen, gibt es<br />
für wide character auch sowas wie den acsii-code,<br />
mit halt nur mehr zeichen????</p>
<p>thx</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1257029</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1257029</guid><dc:creator><![CDATA[RobRoy1304]]></dc:creator><pubDate>Sun, 01 Apr 2007 10:08:54 GMT</pubDate></item><item><title><![CDATA[Reply to Koventieren nach wide character??? on Sun, 01 Apr 2007 10:19:56 GMT]]></title><description><![CDATA[<p>Ja, es gibt eine Zeichentabelle für widecharacter. Entspricht UCS2.<br />
<a href="http://de.wikipedia.org/wiki/Universal_Character_Set" rel="nofollow">http://de.wikipedia.org/wiki/Universal_Character_Set</a></p>
<p>Zeichentabellen:<br />
<a href="http://standards.iso.org/ittf/PubliclyAvailableStandards/c039921_ISO_IEC_10646_2003%28E%29.zip" rel="nofollow">http://standards.iso.org/ittf/PubliclyAvailableStandards/c039921_ISO_IEC_10646_2003(E).zip</a> (82 MB)</p>
<p>Umwandlung von string nach wstring:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-168607-and-highlight-is-string2wstring%2A.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-168607-and-highlight-is-string2wstring*.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1257038</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1257038</guid><dc:creator><![CDATA[Artchi]]></dc:creator><pubDate>Sun, 01 Apr 2007 10:19:56 GMT</pubDate></item><item><title><![CDATA[Reply to Koventieren nach wide character??? on Sun, 01 Apr 2007 11:02:07 GMT]]></title><description><![CDATA[<p>dankeschön, das hier funzt <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f44d.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--thumbs_up"
      title=":+1:"
      alt="👍"
    /></p>
<pre><code class="language-cpp">//koventierung nach wchar
std::wstring CDEDlg::convertStringToWstring(const std::string&amp; str)
{
    const std::ctype&lt;wchar_t&gt;&amp; CType = std::use_facet&lt;std::ctype&lt;wchar_t&gt; &gt;(std::locale());
    std::vector&lt;wchar_t&gt; wideStringBuffer(str.length());
    CType.widen(str.data(), str.data() + str.length(), &amp;wideStringBuffer[0]);
    return std::wstring(&amp;wideStringBuffer[0], wideStringBuffer.size());
 }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1257056</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1257056</guid><dc:creator><![CDATA[RobRoy1304]]></dc:creator><pubDate>Sun, 01 Apr 2007 11:02:07 GMT</pubDate></item></channel></rss>