<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title><![CDATA[Data Access Worldwide Forums - Unicode & 64-Bit Applications]]></title>
		<link>https://support.dataaccess.com/Forums/</link>
		<description>Adapting DataFlex applications to use Unicode or 64-bit capabilities.</description>
		<language>en</language>
		<lastBuildDate>Wed, 20 May 2026 06:39:05 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>https://support.dataaccess.com/Forums/images/misc/rss.png</url>
			<title><![CDATA[Data Access Worldwide Forums - Unicode & 64-Bit Applications]]></title>
			<link>https://support.dataaccess.com/Forums/</link>
		</image>
		<item>
			<title>Updating External_Functions: GetComputerNameW</title>
			<link>https://support.dataaccess.com/Forums/showthread.php?73255-Updating-External_Functions-GetComputerNameW&amp;goto=newpost</link>
			<pubDate>Sun, 17 May 2026 11:12:22 GMT</pubDate>
			<description>We’re updating our external functions to the “W”ide versions. 
 
 While testing GetComputerNameW, I noticed that wide characters (UTF-16) do not...</description>
			<content:encoded><![CDATA[<div>We’re updating our external functions to the “W”ide versions.<br />
<br />
 While testing GetComputerNameW, I noticed that wide characters (UTF-16) do not appear to be handled correctly in some cases.<br />
<br />
 Not sure if this is an issue with the External_Function itself, but possibly with how wsComputerName is being initialised prior to being called.<br />
<br />
 For example, if I set my Windows 11 VM computer name to:<br />
<br />
 <div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Müller-Rëchner1</code><hr />
</div>the value returned is:<br />
<br />
 <div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">MšLLER-RECHNER1</code><hr />
</div>Why would the string be coming back differently?<br />
<br />
 Interestingly, other Unicode tests such as:<br />
<br />
 <div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&#24037;&#20316;&#31449;&#20027;&#26426;&#26381;&#21153;&#22120;&#32593;&#32476;-&#21153;&#22120;&#32593;&#32476;</code><hr />
</div>work as expected i.e. the same.<br />
<br />
Tested using DataFlex 25.0 under Windows 11 Pro 21H2 (VirtualBox)<br />
<br />
Testing program attached.</div>


	<div style="padding:10px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<ul>
			<li>
	<img class="inlineimg" src="https://support.dataaccess.com/Forums/images/attach/src.gif" alt="File Type: src" />
	<a href="https://support.dataaccess.com/Forums/attachment.php?attachmentid=18180&amp;d=1779080524">GetComputerName3.src</a> 
(1.3 KB)
</li>
			</ul>
		</fieldset>
	

	</div>
]]></content:encoded>
			<category domain="https://support.dataaccess.com/Forums/forumdisplay.php?90-Unicode-amp-64-Bit-Applications"><![CDATA[Unicode & 64-Bit Applications]]></category>
			<dc:creator>Clive Richmond</dc:creator>
			<guid isPermaLink="true">https://support.dataaccess.com/Forums/showthread.php?73255-Updating-External_Functions-GetComputerNameW</guid>
		</item>
	</channel>
</rss>
