<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=37423&amp;view=findpost&amp;p=242043</guid>
        <pubDate>Fri, 22 Feb 2002 13:09:48 +0000</pubDate>
        <title>How to get unicode characters from CRichEditCtrl?</title>
        <link>https://forum.sources.ru/index.php?showtopic=37423&amp;view=findpost&amp;p=242043</link>
        <description><![CDATA[SUnteXx: Попробуй получить текст и перекодировать MultiByteToWideChar. Криво, но работает ... мне хватает! ;D]]></description>
        <author>SUnteXx</author>
        <category>Visual C++ / MFC / WTL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=37423&amp;view=findpost&amp;p=242042</guid>
        <pubDate>Wed, 20 Feb 2002 12:16:43 +0000</pubDate>
        <title>How to get unicode characters from CRichEditCtrl?</title>
        <link>https://forum.sources.ru/index.php?showtopic=37423&amp;view=findpost&amp;p=242042</link>
        <description><![CDATA[Oxy: Thanks for reply.<br><br>IsWindowUnicode() returns true;<br><br>But when you mentioned, I realized that I use standard rich edit control that comes with VC++ 6.0. Then I tried 2nd version, even &quot;MS Rich Text Box Control 6.0&quot;, but still no luck.<br>Now I end up with _UNICODE definition AND CEdit class :) wich returns real characters (not &quot;?&quot;) and doesn't change edit box value in this code:<br><br>CString g;<br>ce.GetWindowText(g); // CEdit ce;<br>ce.SetWindowText(g);<br><br>When I use this code with any of rich edit controls I mentioned above, the value of edit control is changed to ANSI characters (all russian or any other international chars are converted to &quot;?&quot;)... I don't understand this :\<br><br>I could be happy with that, but as far as I know Win9x doesn't support unicode, so won't my project work on Win9x?<br><br>Oxy<br><br>P.S. I speak/understand russian, but I would type very slowly and poorly, so sorry for using english.]]></description>
        <author>Oxy</author>
        <category>Visual C++ / MFC / WTL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=37423&amp;view=findpost&amp;p=242041</guid>
        <pubDate>Wed, 20 Feb 2002 02:53:45 +0000</pubDate>
        <title>How to get unicode characters from CRichEditCtrl?</title>
        <link>https://forum.sources.ru/index.php?showtopic=37423&amp;view=findpost&amp;p=242041</link>
        <description><![CDATA[Codemaster: <div class='tag-quote'><span class='tag-quote-prefix'>Цитата</span> <div class='quote '>In Rich Edit 2.0, if you create a Unicode rich edit control (one that expects Unicode text messages), you must specify only Unicode data in any window messages sent to the control. Similarly, if you create an ANSI rich edit control, send only ANSI or DBCS data. You can use the IsWindowUnicode function to determine whether a rich edit control uses Unicode text messages. Note that the rich edit COM interfaces use Unicode text unless they encounter a code page argument.</div></div><br>Выводы: проверь, окно RichEdit у тебя IsWindowUnicode()? Ты используешь 2.0 или 3.0 версию? И вообще, в MSDN много написано про поддержу Unicode, всё должно работать.]]></description>
        <author>Codemaster</author>
        <category>Visual C++ / MFC / WTL</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=37423&amp;view=findpost&amp;p=242040</guid>
        <pubDate>Tue, 19 Feb 2002 21:27:03 +0000</pubDate>
        <title>How to get unicode characters from CRichEditCtrl?</title>
        <link>https://forum.sources.ru/index.php?showtopic=37423&amp;view=findpost&amp;p=242040</link>
        <description><![CDATA[Oxy: Hi,<br><br>I have CRichEditCtrl and I write text with different languages there. How could I get unicode characters right? Currently I get only question marks in place of them (&quot;?&quot;). My project uses _MBCS..<br><br>PLEASE help,<br>Oxy]]></description>
        <author>Oxy</author>
        <category>Visual C++ / MFC / WTL</category>
      </item>
	
      </channel>
      </rss>
	