<?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 : UTF-8 in manifest in non-Unicode build</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : UTF-8 in manifest in non-Unicode build]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 14:57:33 +0000</pubDate>
  <lastBuildDate>Fri, 07 Jun 2024 07:38:40 +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=24483</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[UTF-8 in manifest in non-Unicode build : I think that the reason is: ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24483&amp;PID=78953&amp;title=utf8-in-manifest-in-nonunicode-build#78953</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 24483<br /><strong>Posted:</strong> 07 June 2024 at 7:38am<br /><br />I think that the reason is:<div><br></div><div><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> GDI doesn't currently support setting the ActiveCodePage property per process. Instead, GDI defaults to the active system codepage. To configure your app to render UTF-8 text via GDI, go to Windows Settings &gt; Time &amp; language &gt; Language &amp; region &gt; Administrative language settings &gt; Change system locale, and check Beta: Use Unicode UTF-8 for worldwide language support. Then reboot the PC for the change to take effect.</td></tr></table><div><p style="-sizing: inherit; outline-color: inherit; margin: 1rem 0px 0px; padding: 0px; max-width: 100%; overflow-wrap: break-word;"><span style="color: rgb0, 0, 0; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;">From:&nbsp;</span><a href="http://learn.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page" target="_blank" rel="nofollow">https://learn.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page</a>.</p><p style="-sizing: inherit; outline-color: inherit; margin: 1rem 0px 0px; padding: 0px; max-width: 100%; overflow-wrap: break-word;">Since XTToolkit uses a lot of DrawText GDI for custom drawings of items, controls etc.</p></div></div>]]>
   </description>
   <pubDate>Fri, 07 Jun 2024 07:38:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24483&amp;PID=78953&amp;title=utf8-in-manifest-in-nonunicode-build#78953</guid>
  </item> 
  <item>
   <title><![CDATA[UTF-8 in manifest in non-Unicode build : When I build my application exe...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24483&amp;PID=78952&amp;title=utf8-in-manifest-in-nonunicode-build#78952</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 24483<br /><strong>Posted:</strong> 07 June 2024 at 3:54am<br /><br /><div>When&nbsp; I build my application exe and the XTToolkit DLL using Unicode everything works as expected.</div><div><br></div><div>But I'm testing different language combinations to better understand what is going on.</div><div>When I build both my application and the XTToolkit Pro using non-Unicode I have problems seeing e.g. simplified Chinese characters in my program. This is of cause expected.</div><div>Then I set the manifest file for my exe to include the line:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>&lt;activeCodePage xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings"&gt;UTF-8&lt;/activeCodePage&gt;</div><div></pre></td></tr></table></div><div>This makes my exe using the MFC controls able to show the simplified Chinese characters correctly. However the controls used by the XTToolkit don't shot the text as UTF-8.&nbsp;</div><div><br></div><div><img src="uploads/686/Codepage_Problem.png" height="243" width="393" border="0" /><br></div><div>See the example above, where a simple MFC dialog belonging to my exe shows the text correctly, but the XTPGrid display the same text incorrectly.</div><div><br></div><div>So, what is the problem?</div><div>How do I tell the XTToolkit DLL to use UTF-8?</div><div>Do I need to set the same manifest for the XTPToolkit&nbsp;DLL I build?</div><div>Do I need to set something like this?</div><div><table width="99%"><tr><td><pre class="BBcode">XTPResourceManager()-&gt;GetLanguageInfo()-&gt;nCodePage</pre></td></tr></table></div><div><br></div><div><br></div><div><b>Edit....</b></div><div><br></div><div>It seems that adding the manifest to the XTToolkit DLL does not make a difference ?</div><div>But, enabling the "Beta: Use Unicode UTF-8&nbsp; for worldwide language support" regional settings feature in Windows 10/11 solves the problem in the XTToolkit controls. So the question is then, how do I enable this programmatically or through a manifest for the XTToolkit DLL controls?</div><div><br></div><div>Any Ideas?</div>]]>
   </description>
   <pubDate>Fri, 07 Jun 2024 03:54:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24483&amp;PID=78952&amp;title=utf8-in-manifest-in-nonunicode-build#78952</guid>
  </item> 
 </channel>
</rss>