KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q123148: FIX: Problem w/Traditional Chinese Windows 3.1 DBCS File Names

Article: Q123148
Product(s): Miscellaneous Software Development Kits
Version(s): 3.1; WINDOWS:3.1
Operating System(s): 
Keyword(s): kbIntl kbOSWin2000fix kbSDKWin32 kbDBCS kbIntlDev
Last Modified: 24-JUL-2001

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Windows Software Development Kit (SDK) 3.1 
-------------------------------------------------------------------------------

SYMPTOMS
========

Sometimes traditional Chinese Windows version 3.1 will say a Chinese filename is
invalid even though there is no obvious reason for it. Or sometimes the Chinese
file names are changed slightly when saved.

CAUSE
=====

The reason is that CWIN31 used the original MS-DOS file system as its file
system because Microsoft never released a Chinese MS-DOS in Taiwan. Therefore,
all of the localized Chinese DOS systems are third-party products. Microsoft
only delivered device drivers (such as printer/display drivers) to interpret the
Chinese character. As a result, the file name system is still a SBCS (single
byte character set) system. The Lead byte of an MS-DOS file name has never been
checked using DBCSLeadByte filtering. CWIN31 will display or treat a DBCS
(double byte character set) filename as an erroneous file name when you try to
dump or search the DBCS file.

STATUS
======

This behavior is by design.


Additional query words: CWIN3.1 FESDK DBCS filenames

======================================================================
Keywords          : kbIntl kbOSWin2000fix kbSDKWin32 kbDBCS kbIntlDev 
Technology        : kbAudDeveloper kbWin3xSearch kbSDKSearch kbWinSDKSearch kbWinSDK310
Version           : :3.1; WINDOWS:3.1
Issue type        : kbbug
Solution Type     : kbfix

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.