Microsoft KB Archive/177471

From BetaArchive Wiki
Knowledge Base


EBCDIC Character Codes May Not Be Properly Converted to ANSI Character Codes

Article ID: 177471

Article Last Modified on 11/1/2006



APPLIES TO

  • Microsoft Windows NT Server 4.0, Terminal Server Edition
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 4.0 Enterprise Edition



This article was previously published under Q177471


SYMPTOMS

A Windows NT client or server that receives EBCDIC characters from an IBM- compatible computer does not convert properly from EBCDIC character codes to ANSI character codes. For example, a received string may be garbled.

CAUSE

This problem occurs because the default conversion table does not map some characters as needed. Also, according to DCE (Distributed Computing Environment) specifications, the RPC (remote procedure calls) NDR (network data representation) does not provide information about code pages to the RPC layer. In other words, incoming data does not supply to the RPC receiver (client or server) any information about the code set or code page of the sender (client or server). This means that 1) the IBM-compatible computer can have a symmetrical problem when converting from a specific ANSI code page that is valid for a particular locale; and 2) the RPC layer cannot convert properly based on the information from the received data.

RESOLUTION

The default conversion table has been changed to default to mapping from 1047 IBM EBCDIC code set to 1252 ANSI code page. This hotfix works properly for IBM and Microsoft systems that use the indicated default code set/code page.


To resolve this problem, obtain the latest service pack for Windows NT 4.0 or Windows NT Server 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

152734 How to Obtain the Latest Windows NT 4.0 Service Pack



For your convenience, the English version of this post-SP3 hotfix has been posted to the following Internet location. However, Microsoft recommends that you install Windows NT 4.0 Service Pack 4 to correct this problem.

ftp://ftp.microsoft.com

STATUS

Microsoft has confirmed that this is a problem in Windows NT 4.0 and Windows NT Server 4.0, Terminal Server Edition. This problem was first corrected in Windows NT 4.0 Service Pack 4.0 and Windows NT Server 4.0, Terminal Server Edition Service Pack 4.


Additional query words: 4.00

Keywords: kbhotfixserver kbqfe kbbug kbfix kbnetwork kbprint kbrpc KB177471