East Asian language first character not recognized in DataGrid cell

Applies to: Windows 10Windows 10, version 1709, all editionsWindows 10, version 1803, all editions

Symptoms


The first input character for East Asian Languages isn't recognized correctly by IME in DataGrid cell. 

Cause


The input composition for Edit control doesn't include the first character typed into the DataGrid cell. The text entered could therefore be incorrect.  The Edit control content must be cleared to ensure the correct text is entered. This is an application compatibility issue. Changing compatibility registry is workaround.

Resolution


Important:

This section explains how to modify the registry. Improper modifications can cause serious issues. Follow the steps carefully to avoid any mistake. For added protection, back up the registry so that it can be restored if a problem occurs.

For more information about how to back up and restore the registry see: How to back up and restore the registry in Windows

There are two registry keys to address this problem. Customers can apply one of the following registry key to the system.

Consider the following scenario.

Scenario 1: If you have multiple applications that encounter this problem and each application has a different Window Class name for each DataGrid cell. In this case, you can add the new registry key which contains an executable file name of application. Then, you will set the value to 0x00008000. You will need to repeatedly set up the registry keys for every single application.

Scenario 2: If you have multiple applications that encounter this problem but your applications uses single Window Class name for DataGrid cell because all of those applications’ Window Class names are the same. In this case, you can add AppCompatClassName registry key. Then, you will set the value to Window class name of your application

1. For specific process name:

Registry entry

If x86 applications are executed on a x64 Windows system, the following registry key can be applied instead of the one mentioned above:

For example: The workaround for a specific executable file name such as "sample.exe"

 

2. For specific Windows class name:

If you use this scenario, you have to apply following Windows Updates on your system.

Windows 10 Version 1803

KB4550944

Windows 10 Version 1809

KB4550969

Windows 10 Version 1903

KB4541335

Windows 10 Version 1909

KB4541335

Windows 10 Version 2004

KB4571744

 

Registry entry:


If x86 applications are executed on an x64 Windows system, the following registry key can be applied instead of the one mentioned above:

For example: The workaround for specific Window Class Name as "Edit”

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References


Learn about the terminology that Microsoft uses to describe software updates.