Does Win32 -A api variant truly support MBCS

Aditya Mehta 0 Reputation points

ClearCase is a portable product (across Unix / Linux / Windows). In part, the portability is possible because the product uses multibyte characters (MBCS).  Historically, Microsoft Windows has not had full support for multibyte characters, only single and double byte characters (DBCS).  Windows 10 Version 1803 added true multibyte support in at least the Win32 "-A" API variant:

This enhancement allowed our command line interface to support GB18030 (and UTF-8 encodings).

We have numerous MFC (Microsoft Foundation Classes) GUIs.  They still do not work correctly with GB18030 and UTF-8 (in Windows 10 Version 1803 and later).  Was MFC (including the GUI controls) enhanced to support true MBCS or is it still limited to DBCS?

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,279 questions
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,312 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Minxin Yu 8,106 Reputation points Microsoft Vendor

    Hi, @Aditya Mehta

    MFC MBCS only supports double-byte character sets (DBCS).

    MFC Support for MBCS Strings

    And the MBCS libraries were deprecated in Visual Studio 2013 and Visual Studio 2015.

    Best regards,

    Minxin Yu

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.