<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://groupkos.com/dev/index.php?action=history&amp;feed=atom&amp;title=VB6_Notes</id>
	<title>VB6 Notes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://groupkos.com/dev/index.php?action=history&amp;feed=atom&amp;title=VB6_Notes"/>
	<link rel="alternate" type="text/html" href="http://groupkos.com/dev/index.php?title=VB6_Notes&amp;action=history"/>
	<updated>2026-04-19T22:15:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>http://groupkos.com/dev/index.php?title=VB6_Notes&amp;diff=4810&amp;oldid=prev</id>
		<title>XenoEngineer at 18:15, 27 December 2024</title>
		<link rel="alternate" type="text/html" href="http://groupkos.com/dev/index.php?title=VB6_Notes&amp;diff=4810&amp;oldid=prev"/>
		<updated>2024-12-27T18:15:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:15, 27 December 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:VB6]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:VB6]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Unicode String handling in VB6 ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;background-color:azure; border:1px outset azure; padding:0 20px; max-width:860px; margin:0 auto; &amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div style=&amp;quot;background-color:azure; border:1px outset azure; padding:0 20px; max-width:860px; margin:0 auto; &amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;B6 &lt;/del&gt;`String` variables can handle web data received in UTF-8 encoding, but with some limitations and potential issues.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; VB6 &lt;/ins&gt;`String` variables can handle web data received in UTF-8 encoding, but with some limitations and potential issues.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Since VB6 uses Unicode (UCS-2) internally to represent strings, it can handle Unicode characters. However, there are a few things to consider:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Since VB6 uses Unicode (UCS-2) internally to represent strings, it can handle Unicode characters. However, there are a few things to consider:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>XenoEngineer</name></author>
	</entry>
	<entry>
		<id>http://groupkos.com/dev/index.php?title=VB6_Notes&amp;diff=4809&amp;oldid=prev</id>
		<title>XenoEngineer: Created page with &quot;Category:VB6  &lt;div style=&quot;background-color:azure; border:1px outset azure; padding:0 20px; max-width:860px; margin:0 auto; &quot;&gt; B6 `String` variables can handle web data received in UTF-8 encoding, but with some limitations and potential issues.   Since VB6 uses Unicode (UCS-2) internally to represent strings, it can handle Unicode characters. However, there are a few things to consider:   &#039;&#039;&#039;1. UTF-8 to UCS-2 conversion:&#039;&#039;&#039; When receiving UTF-8 encoded data from the w...&quot;</title>
		<link rel="alternate" type="text/html" href="http://groupkos.com/dev/index.php?title=VB6_Notes&amp;diff=4809&amp;oldid=prev"/>
		<updated>2024-12-27T18:14:42Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/dev/index.php/Category:VB6&quot; title=&quot;Category:VB6&quot;&gt;Category:VB6&lt;/a&gt;  &amp;lt;div style=&amp;quot;background-color:azure; border:1px outset azure; padding:0 20px; max-width:860px; margin:0 auto; &amp;quot;&amp;gt; B6 `String` variables can handle web data received in UTF-8 encoding, but with some limitations and potential issues.   Since VB6 uses Unicode (UCS-2) internally to represent strings, it can handle Unicode characters. However, there are a few things to consider:   &amp;#039;&amp;#039;&amp;#039;1. UTF-8 to UCS-2 conversion:&amp;#039;&amp;#039;&amp;#039; When receiving UTF-8 encoded data from the w...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:VB6]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;background-color:azure; border:1px outset azure; padding:0 20px; max-width:860px; margin:0 auto; &amp;quot;&amp;gt;&lt;br /&gt;
B6 `String` variables can handle web data received in UTF-8 encoding, but with some limitations and potential issues.&lt;br /&gt;
&lt;br /&gt;
 Since VB6 uses Unicode (UCS-2) internally to represent strings, it can handle Unicode characters. However, there are a few things to consider:&lt;br /&gt;
&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;1. UTF-8 to UCS-2 conversion:&amp;#039;&amp;#039;&amp;#039; When receiving UTF-8 encoded data from the web, VB6 will automatically convert it to UCS-2 (the internal Unicode encoding used by VB6). This conversion is done by the `MSXML2` library, which is used by VB6 for XML and HTTP parsing.&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;2. Byte order:&amp;#039;&amp;#039;&amp;#039; VB6 uses little-endian byte order for Unicode characters, which is the same as the byte order used by Windows. However, if the received UTF-8 data is not properly converted to UCS-2, you may encounter issues with byte order.&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;3. Non-ASCII characters:&amp;#039;&amp;#039;&amp;#039; VB6 can handle non-ASCII characters, but it may not display them correctly if the system&amp;#039;s default code page is not set to a Unicode-aware code page.&lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 &amp;#039;&amp;#039;&amp;#039;4. Malformed UTF-8 data:&amp;#039;&amp;#039;&amp;#039; If the received UTF-8 data is malformed or contains invalid characters, VB6 may not be able to handle it correctly.&lt;br /&gt;
&lt;br /&gt;
 In general, VB6 `String` variables can handle web data received in UTF-8 encoding without explicit conversion, but you should be aware of the following potential issues:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Implicit conversion:&amp;#039;&amp;#039;&amp;#039; VB6 will automatically convert the received UTF-8 data to UCS-2, which may lead to issues if the conversion is not done correctly.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Character encoding:&amp;#039;&amp;#039;&amp;#039; VB6 may assume the wrong character encoding if the received data is not properly marked with a byte order mark (BOM) or if the system&amp;#039;s default code page is not set correctly.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data corruption:&amp;#039;&amp;#039;&amp;#039; If the received UTF-8 data is malformed or contains invalid characters, VB6 may not be able to handle it correctly, leading to data corruption or errors.&lt;br /&gt;
&lt;br /&gt;
 To minimize potential issues, you can take the following precautions:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use the `MSXML2` library:&amp;#039;&amp;#039;&amp;#039; Use the `MSXML2` library to parse XML and HTTP data, as it provides built-in support for UTF-8 encoding and Unicode characters.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Specify the encoding:&amp;#039;&amp;#039;&amp;#039; When sending or receiving data, specify the encoding explicitly (e.g., `charset=utf-8`) to ensure that both parties agree on the encoding.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Check for BOM:&amp;#039;&amp;#039;&amp;#039; Check for the presence of a BOM (byte order mark) in the received data to determine the encoding.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Use Unicode-aware APIs:&amp;#039;&amp;#039;&amp;#039; Use Unicode-aware APIs, such as the `WideCharToMultiByte` function, to convert between Unicode and non-Unicode encodings.&lt;br /&gt;
&amp;amp;nbsp;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;/div&gt;</summary>
		<author><name>XenoEngineer</name></author>
	</entry>
</feed>