<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Greek Strings in non unicode app</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Greek Strings in non unicode app]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 01:48:14 +0000</pubDate>
  <lastBuildDate>Thu, 05 Mar 2020 08:47:48 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=23945</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Greek Strings in non unicode app : I don&amp;#039;tknow why this works...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77638&amp;title=greek-strings-in-non-unicode-app#77638</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4319">sdancer75</a><br /><strong>Subject:</strong> 23945<br /><strong>Posted:</strong> 05 March 2020 at 8:47am<br /><br /><font size="5" color="#009900">&#091;Solved&#093;</font><div><br></div><div><font size="3">I don't&nbsp;know why this works and shows correctly the Greek characters, but t</font><font size="3">he </font><font face="Courier New, Courier, mono"><font size="4">CXTPTaskDialog</font><font size="3">&nbsp;</font></font><font size="3">derived dialog should be called with </font><i style="font-size: medium;"><b>TRUE </b></i><font size="3">in the 1st parameter to force use the <i>ComCtl32.dll</i>&nbsp;version of the task dialog. <u>Unfortunately this concerns only for Vista and newer OSs</u></font></div><div><font size="3"><br></font></div><div><font size="3">For example</font><br></div><div><font size="3"><br></font></div><div><font size="3" face="Courier New, Courier, mono">CXTPTaskDialog<span style="white-space:pre">	</span>tDialog(this);</font></div><div><font size="3" face="Courier New, Courier, mono">tDialog.DoModal(<b>TRUE</b>);</font></div>]]>
   </description>
   <pubDate>Thu, 05 Mar 2020 08:47:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77638&amp;title=greek-strings-in-non-unicode-app#77638</guid>
  </item> 
  <item>
   <title><![CDATA[Greek Strings in non unicode app : Another paradox is when I use...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77637&amp;title=greek-strings-in-non-unicode-app#77637</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4319">sdancer75</a><br /><strong>Subject:</strong> 23945<br /><strong>Posted:</strong> 05 March 2020 at 7:32am<br /><br />Another paradox is when I use the debug executable I can see Greek characters in&nbsp;CXTPTaskDialog&nbsp; but when I use release executable I get gibberish instead.<div><br></div><div>The character set in the General Settings of the project are both set to "Not set". What seems to be the problem here?</div><div><br></div><div><br></div><div><img src="uploads/4319/CXTPTaskDialog.jpg" height="356" width="621" border="0" /></div>]]>
   </description>
   <pubDate>Thu, 05 Mar 2020 07:32:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77637&amp;title=greek-strings-in-non-unicode-app#77637</guid>
  </item> 
  <item>
   <title><![CDATA[Greek Strings in non unicode app :   mgampi wrote:In Visual Studio...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77607&amp;title=greek-strings-in-non-unicode-app#77607</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4319">sdancer75</a><br /><strong>Subject:</strong> 23945<br /><strong>Posted:</strong> 02 February 2020 at 5:39am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by mgampi" alt="Originally posted by mgampi" style="vertical-align: text-bottom;" /> <strong>mgampi wrote:</strong><br /><br /><div>In Visual Studio IDE you can choose the file encoding when you call "Save as...". Just press the down&nbsp; arrow of the save button and select the correct encoding according your codepage 1253.</div><div><br></div><div>You can use Notepad++ for example to test the current encoding of your file and you can change the encoding if it's wrong using the "Encoding" main menu item of the same editor.</div><div><br></div><div>Hope this helps!<br></div></td></tr></table><div><br></div><div>This project is pretty old and I am using VS2008. For *.rc files the option "Save as" is disabled, but it works with all other files.</div><div><br></div><div>So, I used Notepad++. I confirm that this is an ANSI file and I choose Greek 1253 as character encoding, before I save the file. Inside the *.rc file I can see without problems the Greek characters as well as inside the Visual Studio String Table.&nbsp;</div><div><br></div><div>No matter what, everytime I open once again the file under Notepad++, it reports ANSI but character encoding is turned back to default which is Greek ISO 8859-7.&nbsp;</div><div><br></div><div>I also changed the *.rc file to&nbsp;<br><br><div><font face="Courier New, Courier, mono">#ifdef _WIN32</font></div><div><font face="Courier New, Courier, mono">LANGUAGE LANG_GREEK, SUBLANG_GREEK_GREECE</font></div><div><font face="Courier New, Courier, mono">#pragma code_page(1253)</font></div><div><font face="Courier New, Courier, mono">#endif //_WIN32</font></div></div><div><br></div><div>I compiled and tested the code below. No difference at all. Using CStringW it works. To be honest, I am not sure what exactly is going on here but I assume that VS2008 ignores the Greek character encoding?</div><div><br></div><div><div><font face="Courier New, Courier, mono">CString strFormat;</font></div><div><font face="Courier New, Courier, mono">strFormat.LoadString(136);</font></div></div><div><br></div><div><img src="uploads/4319/Screenshot_8.jpg" height="415" width="771" border="0" /><br></div><div id="gtx-trans" style=": ; left: 495px; top: 446.2px;"><div ="gtx-trans-ic&#111;n"></div></div>]]>
   </description>
   <pubDate>Sun, 02 Feb 2020 05:39:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77607&amp;title=greek-strings-in-non-unicode-app#77607</guid>
  </item> 
  <item>
   <title><![CDATA[Greek Strings in non unicode app :   mgampi wrote:...and another...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77606&amp;title=greek-strings-in-non-unicode-app#77606</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4319">sdancer75</a><br /><strong>Subject:</strong> 23945<br /><strong>Posted:</strong> 02 February 2020 at 5:13am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by mgampi" alt="Originally posted by mgampi" style="vertical-align: text-bottom;" /> <strong>mgampi wrote:</strong><br /><br /><div>...and another hint:</div><div><br></div><div>the correct order of statements in .rc2 file is</div><div><br></div><div><div>#define _XTP_RESOURCE_LANGUAGE el</div><div><span style=": rgb248, 248, 252;">#include "XTToolkitPro.rc"</span></div><div><span style=": rgb248, 248, 252;"><br></span></div><div><span style=": rgb248, 248, 252;">First define the required language and the include the .rc file<br></span></div></div></td></tr></table><div><br></div><div>I already used this order in my projects.</div>]]>
   </description>
   <pubDate>Sun, 02 Feb 2020 05:13:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77606&amp;title=greek-strings-in-non-unicode-app#77606</guid>
  </item> 
  <item>
   <title><![CDATA[Greek Strings in non unicode app : ...and another hint:the correct...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77605&amp;title=greek-strings-in-non-unicode-app#77605</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 23945<br /><strong>Posted:</strong> 01 February 2020 at 11:25am<br /><br /><div>...and another hint:</div><div><br></div><div>the correct order of statements in .rc2 file is</div><div><br></div><div><div>#define _XTP_RESOURCE_LANGUAGE el</div><div><span style=": rgb248, 248, 252;">#include "XTToolkitPro.rc"</span></div><div><span style=": rgb248, 248, 252;"><br></span></div><div><span style=": rgb248, 248, 252;">First define the required language and the include the .rc file<br></span></div></div>]]>
   </description>
   <pubDate>Sat, 01 Feb 2020 11:25:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77605&amp;title=greek-strings-in-non-unicode-app#77605</guid>
  </item> 
  <item>
   <title><![CDATA[Greek Strings in non unicode app : In Visual Studio IDE you can choose...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77604&amp;title=greek-strings-in-non-unicode-app#77604</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 23945<br /><strong>Posted:</strong> 01 February 2020 at 11:21am<br /><br /><div>In Visual Studio IDE you can choose the file encoding when you call "Save as...". Just press the down&nbsp; arrow of the save button and select the correct encoding according your codepage 1253.</div><div><br></div><div>You can use Notepad++ for example to test the current encoding of your file and you can change the encoding if it's wrong using the "Encoding" main menu item of the same editor.</div><div><br></div><div>Hope this helps!<br></div>]]>
   </description>
   <pubDate>Sat, 01 Feb 2020 11:21:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77604&amp;title=greek-strings-in-non-unicode-app#77604</guid>
  </item> 
  <item>
   <title><![CDATA[Greek Strings in non unicode app :   mgampi wrote:WHat happens if...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77603&amp;title=greek-strings-in-non-unicode-app#77603</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4319">sdancer75</a><br /><strong>Subject:</strong> 23945<br /><strong>Posted:</strong> 01 February 2020 at 4:27am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by mgampi" alt="Originally posted by mgampi" style="vertical-align: text-bottom;" /> <strong>mgampi wrote:</strong><br /><br />WHat happens if you try CStringW::LoadString instead of CString::LoadString (which indeed takes CStringA::LoadString())?<br></td></tr></table><div><br></div><div>Testing with&nbsp;</div><div><br></div><div><div>CStringW strFormat;</div><div>strFormat.LoadString(136);</div></div><div><br></div><div>In this way it works just fine.&nbsp;&nbsp;</div><div><br></div><div>But what this exactly means? That my String Table is saved as a Unicode file and Compiler can not manage this?</div><div><br></div><div>Regards,</div><div id="gtx-trans" style=": ; left: 326px; top: 160.6px;"><div ="gtx-trans-ic&#111;n"></div></div>]]>
   </description>
   <pubDate>Sat, 01 Feb 2020 04:27:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77603&amp;title=greek-strings-in-non-unicode-app#77603</guid>
  </item> 
  <item>
   <title><![CDATA[Greek Strings in non unicode app : What happens if you try CStringW::LoadString...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77600&amp;title=greek-strings-in-non-unicode-app#77600</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 23945<br /><strong>Posted:</strong> 30 January 2020 at 3:43am<br /><br />What happens if you try CStringW::LoadString instead of CString::LoadString (which indeed takes CStringA::LoadString())?<br>]]>
   </description>
   <pubDate>Thu, 30 Jan 2020 03:43:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77600&amp;title=greek-strings-in-non-unicode-app#77600</guid>
  </item> 
  <item>
   <title><![CDATA[Greek Strings in non unicode app :   mgampi wrote:Which encoding...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77597&amp;title=greek-strings-in-non-unicode-app#77597</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4319">sdancer75</a><br /><strong>Subject:</strong> 23945<br /><strong>Posted:</strong> 29 January 2020 at 9:30am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by mgampi" alt="Originally posted by mgampi" style="vertical-align: text-bottom;" /> <strong>mgampi wrote:</strong><br /><br /><div>Which encoding are you using for your .rc files? Perhaps that's the reason.</div><div>What do you get when you call CString::LoadString()? Is the content ok or not?<br></div></td></tr></table><div><br></div><div>My settings</div><div><br></div><div><b>inside *.rc2</b></div><div><br></div><div>#define _XTP_RESOURCE_LANGUAGE el</div><div><br></div><div><b>inside *.rc</b></div><div><br></div><div><div>LANGUAGE LANG_GREEK, SUBLANG_DEFAULT</div><div>#pragma code_page(1253)</div></div><div><br></div><div><b>CString::LoadString()</b></div><div>I get gibberish instead of Greeks but String Table is notated as &#091;Greek&#093;</div>]]>
   </description>
   <pubDate>Wed, 29 Jan 2020 09:30:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77597&amp;title=greek-strings-in-non-unicode-app#77597</guid>
  </item> 
  <item>
   <title><![CDATA[Greek Strings in non unicode app : Ah, and don&amp;#039;t forget to check...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77595&amp;title=greek-strings-in-non-unicode-app#77595</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 23945<br /><strong>Posted:</strong> 29 January 2020 at 5:41am<br /><br />Ah, and don't forget to check the #pragma codepage in your rc files<br>]]>
   </description>
   <pubDate>Wed, 29 Jan 2020 05:41:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23945&amp;PID=77595&amp;title=greek-strings-in-non-unicode-app#77595</guid>
  </item> 
 </channel>
</rss>