Surrogate pair characters are not handled as expected in an input box in Internet Explorer 9

Applies to: Internet Explorer 9

Symptoms


You have a webpage that has an input box that uses the MaxLength property. When you browse to the webpage in Internet Explorer, you notice that the input box does not handle surrogate pair characters correctly.

For example, in the webpage, you have the following code for the input box:
<input type="text" name="example2" size="20" maxlength="5" value="">
When you use Internet Explorer to open this webpage, you can enter only two surrogate pair characters in the input box instead of five as expected.

Resolution


Security update information

To resolve this issue, install the most recent cumulative security update for Internet Explorer. To do this, visit the following Microsoft website:For more technical information about the most recent cumulative security update for Internet Explorer, visit the following Microsoft website:Note This update was first included in security update 2618444.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2618444 MS11-099: Cumulative Security Update for Internet Explorer: December 13, 2011

Status


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

More Information


For more information about surrogate pairs, visit the following Microsoft Developer Network (MSDN) website:For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates