A complete list of available
code page identifiers
can be found in Microsoft's documentation for the Win32 API.
This property value directly corresponds to Windows code page
identifiers, and will accept any valid code page in addition to the
values listed above. Setting this property to an invalid code page
will result in an error.
Although strings in Visual Basic are internally managed as Unicode,
the default common controls used in Visual Basic 6.0 do not support
Unicode. Those controls, such as buttons, text boxes and labels, will
automatically convert the Unicode text to ANSI using the current code
page. This means that text in the end-user's native language
(depending on system settings) may display correctly, although text
in other languages using different character sets may not. Also note
that the VB6 IDE is not Unicode aware and may display corrupted string
values or invalid characters, such as with tooltip values when
debugging.
For Unicode support in Visual Basic 6.0, it's recommended that you
use third-party controls. An alternative that some developers have
used is the Microsoft Forms 2.0 Object Library (FM20.DLL) that is part
of Microsoft Office. It includes a collection of controls that support
Unicode, however they are not redistributable and Microsoft has stated
that their use with VB6 is unsupported. Note that even with a
Unicode-aware UI control, you also need to select a display font which
supports Unicode characters, such as Segoe UI.
If you wish to convert text between UTF-8 and native Unicode
strings, use the StrToUtf8 and Utf8ToStr methods.